Skip to content

Commit b33821d

Browse files
Remove all usages of call_user_func_array()
1 parent f9983b1 commit b33821d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Extension/DumpExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function testDump($context, $args, $expectedOutput, $debug = true)
7676
array_unshift($args, $context);
7777
array_unshift($args, $twig);
7878

79-
$dump = \call_user_func_array(array($extension, 'dump'), $args);
79+
$dump = $extension->dump(...$args);
8080

8181
if ($debug) {
8282
$this->assertStringStartsWith('<script>', $dump);

0 commit comments

Comments
 (0)