Skip to content

Commit

Permalink
[11.x] Add int|float support to e method (#51314)
Browse files Browse the repository at this point in the history
* Prevent int

* Update helpers.php

* leaved only PHPdoc part
  • Loading branch information
trippo authored May 6, 2024
1 parent a8829f7 commit 6a08fce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Support/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function class_uses_recursive($class)
/**
* Encode HTML special characters in a string.
*
* @param \Illuminate\Contracts\Support\DeferringDisplayableValue|\Illuminate\Contracts\Support\Htmlable|\BackedEnum|string|null $value
* @param \Illuminate\Contracts\Support\DeferringDisplayableValue|\Illuminate\Contracts\Support\Htmlable|\BackedEnum|string|int|float|null $value
* @param bool $doubleEncode
* @return string
*/
Expand Down

0 comments on commit 6a08fce

Please sign in to comment.