mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-13 15:27:01 +00:00
Merge branch '3.x' into 4.x
* 3.x: Remove obsolete code Deprecate Environment::mergeGlobals() Bump version Prepare the 3.13.0 release Fix wrong format of `Environment::VERSION_ID` constant Fix minor things Fix CS Fix isset in ForLoopNode Fix iterable return type Improve exception expectations reliability
This commit is contained in:
@@ -25,7 +25,7 @@ final class ReflectionCallable
|
||||
private string $name;
|
||||
|
||||
public function __construct(
|
||||
private TwigCallableInterface $twigCallable,
|
||||
TwigCallableInterface $twigCallable,
|
||||
) {
|
||||
$callable = $twigCallable->getCallable();
|
||||
if (\is_string($callable) && false !== $pos = strpos($callable, '::')) {
|
||||
|
||||
Reference in New Issue
Block a user