Add return type annotations on Twig 3 to prepare Twig 4

This commit is contained in:
Simon André
2025-01-05 16:04:43 +01:00
committed by Fabien Potencier
parent 8689d46906
commit 82be13429c
31 changed files with 225 additions and 20 deletions
+3
View File
@@ -80,6 +80,9 @@ final class ReflectionCallable
return $this->reflector;
}
/**
* @return callable
*/
public function getCallable()
{
return $this->callable;