We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52a91e0 commit e7723d8Copy full SHA for e7723d8
src/Helpers/Str.php
@@ -10,11 +10,11 @@ class Str extends IlluminateStr
10
/**
11
* Escape HTML special characters in a string.
12
*
13
- * @param string $value
+ * @param \Illuminate\Contracts\Support\Htmlable|string $value
14
15
* @return string|null
16
*/
17
- public static function e($value): ?string
+ public static function e($value = null): ?string
18
{
19
if (\is_null($value)) {
20
return null;
0 commit comments