Skip to content

Commit e7723d8

Browse files
author
Andrey Helldar
authored
Update Str.php
1 parent 52a91e0 commit e7723d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/Helpers/Str.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ class Str extends IlluminateStr
1010
/**
1111
* Escape HTML special characters in a string.
1212
*
13-
* @param string $value
13+
* @param \Illuminate\Contracts\Support\Htmlable|string $value
1414
*
1515
* @return string|null
1616
*/
17-
public static function e($value): ?string
17+
public static function e($value = null): ?string
1818
{
1919
if (\is_null($value)) {
2020
return null;

0 commit comments

Comments
 (0)