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 dc7f440 commit 1b4304dCopy full SHA for 1b4304d
LazyString.php
@@ -34,7 +34,7 @@ public static function fromCallable(callable|array $callback, mixed ...$argument
34
if (null !== $arguments) {
35
if (!\is_callable($callback)) {
36
$callback[0] = $callback[0]();
37
- $callback[1] = $callback[1] ?? '__invoke';
+ $callback[1] ??= '__invoke';
38
}
39
$value = $callback(...$arguments);
40
$callback = self::getPrettyName($callback);
0 commit comments