Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fd266c7

Browse filesBrowse files
Remove all calls to call_user_func()
1 parent 1277c49 commit fd266c7
Copy full SHA for fd266c7

File tree

Expand file treeCollapse file tree

33 files changed

+68
-59
lines changed
Filter options
Expand file treeCollapse file tree

33 files changed

+68
-59
lines changed

‎src/Symfony/Bridge/ProxyManager/LazyProxy/Instantiator/RuntimeInstantiator.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/ProxyManager/LazyProxy/Instantiator/RuntimeInstantiator.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function instantiateProxy(ContainerInterface $container, Definition $defi
5151
return $this->factory->createProxy(
5252
$definition->getClass(),
5353
function (&$wrappedInstance, LazyLoadingInterface $proxy) use ($realInstantiator) {
54-
$wrappedInstance = call_user_func($realInstantiator);
54+
$wrappedInstance = $realInstantiator();
5555

5656
$proxy->setProxyInitializer(null);
5757

‎src/Symfony/Component/Config/Util/XmlUtils.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Config/Util/XmlUtils.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public static function loadFile($file, $schemaOrCallable = null)
7575
$e = null;
7676
if (is_callable($schemaOrCallable)) {
7777
try {
78-
$valid = call_user_func($schemaOrCallable, $dom, $internalErrors);
78+
$valid = $schemaOrCallable($dom, $internalErrors);
7979
} catch (\Exception $e) {
8080
$valid = false;
8181
}

‎src/Symfony/Component/Console/Command/Command.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Command/Command.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ public function run(InputInterface $input, OutputInterface $output)
246246

247247
$input->validate();
248248

249-
if ($this->code) {
250-
$statusCode = call_user_func($this->code, $input, $output);
249+
if ($code = $this->code) {
250+
$statusCode = $code($input, $output);
251251
} else {
252252
$statusCode = $this->execute($input, $output);
253253
}

‎src/Symfony/Component/Console/Helper/DialogHelper.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Helper/DialogHelper.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ private function validateAttempts($interviewer, OutputInterface $output, $valida
467467
}
468468

469469
try {
470-
return call_user_func($validator, $interviewer());
470+
return $validator($interviewer());
471471
} catch (\Exception $error) {
472472
}
473473
}

‎src/Symfony/Component/Console/Helper/ProcessHelper.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Helper/ProcessHelper.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public function wrapCallback(OutputInterface $output, Process $process, $callbac
117117
$output->write($formatter->progress(spl_object_hash($process), $that->escapeString($buffer), Process::ERR === $type));
118118

119119
if (null !== $callback) {
120-
call_user_func($callback, $type, $buffer);
120+
$callback($type, $buffer);
121121
}
122122
};
123123
}

‎src/Symfony/Component/Console/Helper/ProgressBar.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Helper/ProgressBar.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ public function display()
438438
$messages = $this->messages;
439439
$this->overwrite(preg_replace_callback("{%([a-z\-_]+)(?:\:([^%]+))?%}i", function ($matches) use ($self, $output, $messages) {
440440
if ($formatter = $self::getPlaceholderFormatterDefinition($matches[1])) {
441-
$text = call_user_func($formatter, $self, $output);
441+
$text = $formatter($self, $output);
442442
} elseif (isset($messages[$matches[1]])) {
443443
$text = $messages[$matches[1]];
444444
} else {

‎src/Symfony/Component/Console/Helper/QuestionHelper.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Helper/QuestionHelper.php
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,13 +353,14 @@ private function validateAttempts($interviewer, OutputInterface $output, Questio
353353
{
354354
$error = null;
355355
$attempts = $question->getMaxAttempts();
356+
$validator = $question->getValidator();
356357
while (null === $attempts || $attempts--) {
357358
if (null !== $error) {
358359
$output->writeln($this->getHelperSet()->get('formatter')->formatBlock($error->getMessage(), 'error'));
359360
}
360361

361362
try {
362-
return call_user_func($question->getValidator(), $interviewer());
363+
return $validator($interviewer());
363364
} catch (\Exception $error) {
364365
}
365366
}

‎src/Symfony/Component/CssSelector/XPath/Translator.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/CssSelector/XPath/Translator.php
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public function nodeToXPath(NodeInterface $node)
205205
throw new ExpressionErrorException(sprintf('Node "%s" not supported.', $node->getNodeName()));
206206
}
207207

208-
return call_user_func($this->nodeTranslators[$node->getNodeName()], $node, $this);
208+
return $this->nodeTranslators[$node->getNodeName()]($node, $this);
209209
}
210210

211211
/**
@@ -223,7 +223,7 @@ public function addCombination($combiner, NodeInterface $xpath, NodeInterface $c
223223
throw new ExpressionErrorException(sprintf('Combiner "%s" not supported.', $combiner));
224224
}
225225

226-
return call_user_func($this->combinationTranslators[$combiner], $this->nodeToXPath($xpath), $this->nodeToXPath($combinedXpath));
226+
return $this->combinationTranslators[$combiner]($this->nodeToXPath($xpath), $this->nodeToXPath($combinedXpath));
227227
}
228228

229229
/**
@@ -240,7 +240,7 @@ public function addFunction(XPathExpr $xpath, FunctionNode $function)
240240
throw new ExpressionErrorException(sprintf('Function "%s" not supported.', $function->getName()));
241241
}
242242

243-
return call_user_func($this->functionTranslators[$function->getName()], $xpath, $function);
243+
return $this->functionTranslators[$function->getName()]($xpath, $function);
244244
}
245245

246246
/**
@@ -257,7 +257,7 @@ public function addPseudoClass(XPathExpr $xpath, $pseudoClass)
257257
throw new ExpressionErrorException(sprintf('Pseudo-class "%s" not supported.', $pseudoClass));
258258
}
259259

260-
return call_user_func($this->pseudoClassTranslators[$pseudoClass], $xpath);
260+
return $this->pseudoClassTranslators[$pseudoClass]($xpath);
261261
}
262262

263263
/**
@@ -276,7 +276,7 @@ public function addAttributeMatching(XPathExpr $xpath, $operator, $attribute, $v
276276
throw new ExpressionErrorException(sprintf('Attribute matcher operator "%s" not supported.', $operator));
277277
}
278278

279-
return call_user_func($this->attributeMatchingTranslators[$operator], $xpath, $attribute, $value);
279+
return $this->attributeMatchingTranslators[$operator]($xpath, $attribute, $value);
280280
}
281281

282282
/**

‎src/Symfony/Component/Debug/DebugClassLoader.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/DebugClassLoader.php
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,13 @@ public function loadClass($class)
150150
ErrorHandler::stackErrors();
151151

152152
try {
153+
$classLoader = $this->classLoader;
153154
if ($this->isFinder) {
154-
if ($file = $this->classLoader[0]->findFile($class)) {
155+
if ($file = $classLoader[0]->findFile($class)) {
155156
require $file;
156157
}
157158
} else {
158-
call_user_func($this->classLoader, $class);
159+
$classLoader($class);
159160
$file = false;
160161
}
161162
} catch (\Exception $e) {

‎src/Symfony/Component/Debug/ErrorHandler.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/ErrorHandler.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,11 +466,11 @@ public function handleException(\Exception $exception, array $error = null)
466466
}
467467
}
468468
}
469-
if (empty($this->exceptionHandler)) {
469+
if (!$exceptionHandler = $this->exceptionHandler) {
470470
throw $exception; // Give back $exception to the native handler
471471
}
472472
try {
473-
call_user_func($this->exceptionHandler, $exception);
473+
$exceptionHandler($exception);
474474
} catch (\Exception $handlerException) {
475475
$this->exceptionHandler = null;
476476
$this->handleException($handlerException);

‎src/Symfony/Component/Debug/ExceptionHandler.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/ExceptionHandler.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function setFileLinkFormat($format)
104104
*/
105105
public function handle(\Exception $exception)
106106
{
107-
if (null === $this->handler || $exception instanceof OutOfMemoryException) {
107+
if ($exception instanceof OutOfMemoryException || null === $handler = $this->handler) {
108108
$this->failSafeHandle($exception);
109109

110110
return;
@@ -125,7 +125,7 @@ public function handle(\Exception $exception)
125125
$this->caughtBuffer = null;
126126

127127
try {
128-
call_user_func($this->handler, $exception);
128+
$handler($exception);
129129
$this->caughtLength = $caughtLength;
130130
} catch (\Exception $e) {
131131
if (!$caughtLength) {

‎src/Symfony/Component/DependencyInjection/ContainerBuilder.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/ContainerBuilder.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ public function createService(Definition $definition, $id, $tryProxy = true)
992992
throw new InvalidArgumentException(sprintf('The configure callable for class "%s" is not a callable.', get_class($service)));
993993
}
994994

995-
call_user_func($callable, $service);
995+
$callable($service);
996996
}
997997

998998
return $service;

‎src/Symfony/Component/DependencyInjection/LazyProxy/Instantiator/RealServiceInstantiator.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/LazyProxy/Instantiator/RealServiceInstantiator.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ class RealServiceInstantiator implements InstantiatorInterface
2828
*/
2929
public function instantiateProxy(ContainerInterface $container, Definition $definition, $id, $realInstantiator)
3030
{
31-
return call_user_func($realInstantiator);
31+
return $realInstantiator();
3232
}
3333
}

‎src/Symfony/Component/DependencyInjection/Loader/ClosureLoader.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/Loader/ClosureLoader.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function __construct(ContainerBuilder $container)
4040
*/
4141
public function load($resource, $type = null)
4242
{
43-
call_user_func($resource, $this->container);
43+
$resource($this->container);
4444
}
4545

4646
/**

‎src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ public function __invoke(Event $event, $eventName, EventDispatcherInterface $dis
5656

5757
$e = $this->stopwatch->start($this->name, 'event_listener');
5858

59-
call_user_func($this->listener, $event, $eventName, $dispatcher);
59+
$listener = $this->listener;
60+
$listener($event, $eventName, $dispatcher);
6061

6162
if ($e->isStarted()) {
6263
$e->stop();

‎src/Symfony/Component/EventDispatcher/EventDispatcher.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/EventDispatcher/EventDispatcher.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function removeSubscriber(EventSubscriberInterface $subscriber)
161161
protected function doDispatch($listeners, $eventName, Event $event)
162162
{
163163
foreach ($listeners as $listener) {
164-
call_user_func($listener, $event, $eventName, $this);
164+
$listener($event, $eventName, $this);
165165
if ($event->isPropagationStopped()) {
166166
break;
167167
}

‎src/Symfony/Component/Finder/Iterator/CustomFilterIterator.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Finder/Iterator/CustomFilterIterator.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function accept()
5353
$fileinfo = $this->current();
5454

5555
foreach ($this->filters as $filter) {
56-
if (false === call_user_func($filter, $fileinfo)) {
56+
if (false === $filter($fileinfo)) {
5757
return false;
5858
}
5959
}

‎src/Symfony/Component/Form/CallbackTransformer.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/CallbackTransformer.php
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ public function __construct($transform, $reverseTransform)
6161
*/
6262
public function transform($data)
6363
{
64-
return call_user_func($this->transform, $data);
64+
$t = $this->transform;
65+
66+
return $t($data);
6567
}
6668

6769
/**
@@ -77,6 +79,8 @@ public function transform($data)
7779
*/
7880
public function reverseTransform($data)
7981
{
80-
return call_user_func($this->reverseTransform, $data);
82+
$r = $this->reverseTransform;
83+
84+
return $r($data);
8185
}
8286
}

‎src/Symfony/Component/Form/Extension/Validator/Constraints/FormValidator.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Extension/Validator/Constraints/FormValidator.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ private static function getValidationGroups(FormInterface $form)
198198
private static function resolveValidationGroups($groups, FormInterface $form)
199199
{
200200
if (!is_string($groups) && is_callable($groups)) {
201-
$groups = call_user_func($groups, $form);
201+
$groups = $groups($form);
202202
}
203203

204204
return (array) $groups;

‎src/Symfony/Component/HttpFoundation/JsonResponse.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/JsonResponse.php
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,13 @@ public function setCallback($callback = null)
9595
*/
9696
public function setData($data = array())
9797
{
98-
$errorHandler = null;
99-
$errorHandler = set_error_handler(function () use (&$errorHandler) {
98+
$errorHandler = set_error_handler(function ($type, $msg, $file, $line, $context) use (&$errorHandler) {
10099
if (JSON_ERROR_NONE !== json_last_error()) {
101100
return;
102101
}
103102

104103
if ($errorHandler) {
105-
call_user_func_array($errorHandler, func_get_args());
104+
$errorHandler($type, $msg, $file, $line, $context);
106105
}
107106
});
108107

‎src/Symfony/Component/HttpFoundation/Request.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/Request.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1874,8 +1874,8 @@ private function getUrlencodedPrefix($string, $prefix)
18741874

18751875
private static function createRequestFromFactory(array $query = array(), array $request = array(), array $attributes = array(), array $cookies = array(), array $files = array(), array $server = array(), $content = null)
18761876
{
1877-
if (self::$requestFactory) {
1878-
$request = call_user_func(self::$requestFactory, $query, $request, $attributes, $cookies, $files, $server, $content);
1877+
if ($requestFactory = self::$requestFactory) {
1878+
$request = $requestFactory($query, $request, $attributes, $cookies, $files, $server, $content);
18791879

18801880
if (!$request instanceof Request) {
18811881
throw new \LogicException('The Request factory must return an instance of Symfony\Component\HttpFoundation\Request.');

‎src/Symfony/Component/HttpFoundation/StreamedResponse.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/StreamedResponse.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ public function sendContent()
9292

9393
$this->streamed = true;
9494

95-
if (null === $this->callback) {
95+
if (null === $callback = $this->callback) {
9696
throw new \LogicException('The Response callback must not be null.');
9797
}
9898

99-
call_user_func($this->callback);
99+
$callback();
100100
}
101101

102102
/**

‎src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/PdoSessionHandlerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/PdoSessionHandlerTest.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,9 +348,9 @@ public function getAttribute($attribute)
348348

349349
public function prepare($statement, $driverOptions = array())
350350
{
351-
return is_callable($this->prepareResult)
352-
? call_user_func($this->prepareResult, $statement, $driverOptions)
353-
: $this->prepareResult;
351+
return is_callable($prepareResult = $this->prepareResult)
352+
? $prepareResult($statement, $driverOptions)
353+
: $prepareResult;
354354
}
355355

356356
public function beginTransaction()

‎src/Symfony/Component/Process/Process.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Process/Process.php
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1289,7 +1289,7 @@ protected function buildCallback($callback)
12891289
}
12901290

12911291
if (null !== $callback) {
1292-
call_user_func($callback, $type, $data);
1292+
$callback($type, $data);
12931293
}
12941294
};
12951295

@@ -1369,6 +1369,7 @@ private function validateTimeout($timeout)
13691369
private function readPipes($blocking, $close)
13701370
{
13711371
$result = $this->processPipes->readAndWrite($blocking, $close);
1372+
$callback = $this->callback;
13721373

13731374
foreach ($result as $type => $data) {
13741375
if (3 == $type) {

‎src/Symfony/Component/Serializer/Normalizer/GetSetMethodNormalizer.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Serializer/Normalizer/GetSetMethodNormalizer.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ public function normalize($object, $format = null, array $context = array())
138138
if ($context['circular_reference_limit'][$objectHash] >= $this->circularReferenceLimit) {
139139
unset($context['circular_reference_limit'][$objectHash]);
140140

141-
if ($this->circularReferenceHandler) {
142-
return call_user_func($this->circularReferenceHandler, $object);
141+
if ($circularReferenceHandler = $this->circularReferenceHandler) {
142+
return $circularReferenceHandler($object);
143143
}
144144

145145
throw new CircularReferenceException(sprintf('A circular reference has been detected (configured limit: %d).', $this->circularReferenceLimit));
@@ -164,7 +164,7 @@ public function normalize($object, $format = null, array $context = array())
164164

165165
$attributeValue = $method->invoke($object);
166166
if (array_key_exists($attributeName, $this->callbacks)) {
167-
$attributeValue = call_user_func($this->callbacks[$attributeName], $attributeValue);
167+
$attributeValue = $this->callbacks[$attributeName]($attributeValue);
168168
}
169169
if (null !== $attributeValue && !is_scalar($attributeValue)) {
170170
if (!$this->serializer instanceof NormalizerInterface) {

‎src/Symfony/Component/Serializer/Normalizer/PropertyNormalizer.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Serializer/Normalizer/PropertyNormalizer.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function normalize($object, $format = null, array $context = array())
9797
$attributeValue = $property->getValue($object);
9898

9999
if (array_key_exists($property->name, $this->callbacks)) {
100-
$attributeValue = call_user_func($this->callbacks[$property->name], $attributeValue);
100+
$attributeValue = $this->callbacks[$property->name]($attributeValue);
101101
}
102102
if (null !== $attributeValue && !is_scalar($attributeValue)) {
103103
$attributeValue = $this->serializer->normalize($attributeValue, $format);

‎src/Symfony/Component/Templating/PhpEngine.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Templating/PhpEngine.php
+4-2Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,17 +340,19 @@ public function escape($value, $context = 'html')
340340
return $value;
341341
}
342342

343+
$escaper = $this->getEscaper($context);
344+
343345
// If we deal with a scalar value, we can cache the result to increase
344346
// the performance when the same value is escaped multiple times (e.g. loops)
345347
if (is_scalar($value)) {
346348
if (!isset(self::$escaperCache[$context][$value])) {
347-
self::$escaperCache[$context][$value] = call_user_func($this->getEscaper($context), $value);
349+
self::$escaperCache[$context][$value] = $escaper($value);
348350
}
349351

350352
return self::$escaperCache[$context][$value];
351353
}
352354

353-
return call_user_func($this->getEscaper($context), $value);
355+
return $escaper($value);
354356
}
355357

356358
/**

‎src/Symfony/Component/Translation/PluralizationRules.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Translation/PluralizationRules.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static function get($number, $locale)
4040
}
4141

4242
if (isset(self::$rules[$locale])) {
43-
$return = call_user_func(self::$rules[$locale], $number);
43+
$return = self::$rules[$locale]($number);
4444

4545
if (!is_int($return) || $return < 0) {
4646
return 0;

‎src/Symfony/Component/Validator/Constraints/CallbackValidator.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Constraints/CallbackValidator.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function validate($object, Constraint $constraint)
5555
throw new ConstraintDefinitionException(sprintf('"%s::%s" targeted by Callback constraint is not a valid callable', $method[0], $method[1]));
5656
}
5757

58-
call_user_func($method, $object, $this->context);
58+
$method($object, $this->context);
5959

6060
continue;
6161
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.