Skip to content

Commit 6a08fce

Browse files
authored
[11.x] Add int|float support to e method (#51314)
* Prevent int * Update helpers.php * leaved only PHPdoc part
1 parent a8829f7 commit 6a08fce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Support/helpers.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function class_uses_recursive($class)
110110
/**
111111
* Encode HTML special characters in a string.
112112
*
113-
* @param \Illuminate\Contracts\Support\DeferringDisplayableValue|\Illuminate\Contracts\Support\Htmlable|\BackedEnum|string|null $value
113+
* @param \Illuminate\Contracts\Support\DeferringDisplayableValue|\Illuminate\Contracts\Support\Htmlable|\BackedEnum|string|int|float|null $value
114114
* @param bool $doubleEncode
115115
* @return string
116116
*/

0 commit comments

Comments
 (0)