Fix minor things

This commit is contained in:
Fabien Potencier
2024-09-06 12:58:38 +02:00
parent a7e497af48
commit 978f749b43
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ final class ReflectionCallable
private $name;
public function __construct(
private TwigCallableInterface $twigCallable,
TwigCallableInterface $twigCallable,
) {
$callable = $twigCallable->getCallable();
if (\is_string($callable) && false !== $pos = strpos($callable, '::')) {