changes
This commit is contained in:
2
vendor/symfony/string/LazyString.php
vendored
2
vendor/symfony/string/LazyString.php
vendored
@ -129,7 +129,7 @@ class LazyString implements \Stringable, \JsonSerializable
|
||||
} elseif ($callback instanceof \Closure) {
|
||||
$r = new \ReflectionFunction($callback);
|
||||
|
||||
if (str_contains($r->name, '{closure}') || !$class = $r->getClosureCalledClass()) {
|
||||
if (str_contains($r->name, '{closure') || !$class = $r->getClosureCalledClass()) {
|
||||
return $r->name;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user