8000
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 174c92e commit 9e566e4Copy full SHA for 9e566e4
src/Symfony/Component/VarExporter/Internal/Registry.php
@@ -59,9 +59,8 @@ public static function p($class)
59
public static function f($class)
60
{
61
$reflector = self::$reflectors[$class] ?? self::getClassReflector($class, true, false);
62
- self::$factories[$class] = $reflector->newInstanceWithoutConstructor(...);
63
64
- return self::$factories[$class];
+ return self::$factories[$class] = [$reflector, 'newInstanceWithoutConstructor'](...);
65
}
66
67
public static function getClassReflector($class, $instantiableWithoutConstructor = false, $cloneable = null)
0 commit comments