Loading core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php +2 −1 Changes for core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -97,7 +97,8 @@ public function doTrustedCallback(callable $callback, array $args, $message, $er } } return call_user_func_array($callback, $args); // @TODO Allow named arguments in https://www.drupal.org/node/3174150 return call_user_func_array($callback, array_values($args)); } } core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php +1 −1 Changes for core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ protected function setUp(): void { */ public function testBlocks() { foreach ($this->getBlockTests() as $test) { call_user_func_array([$this, 'doTestBlocks'], $test); call_user_func_array([$this, 'doTestBlocks'], array_values($test)); } } Loading core/tests/Drupal/KernelTests/KernelTestBase.php +1 −1 Changes for core/tests/Drupal/KernelTests/KernelTestBase.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -955,7 +955,7 @@ private static function getModulesToEnable($class) { // Modules have been collected in reverse class hierarchy order; modules // defined by base classes should be sorted first. Then, merge the results // together. $modules = array_reverse($modules); $modules = array_values(array_reverse($modules)); return call_user_func_array('array_merge_recursive', $modules); } Loading Loading
core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php +2 −1 Changes for core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -97,7 +97,8 @@ public function doTrustedCallback(callable $callback, array $args, $message, $er } } return call_user_func_array($callback, $args); // @TODO Allow named arguments in https://www.drupal.org/node/3174150 return call_user_func_array($callback, array_values($args)); } }
core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php +1 −1 Changes for core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ protected function setUp(): void { */ public function testBlocks() { foreach ($this->getBlockTests() as $test) { call_user_func_array([$this, 'doTestBlocks'], $test); call_user_func_array([$this, 'doTestBlocks'], array_values($test)); } } Loading
core/tests/Drupal/KernelTests/KernelTestBase.php +1 −1 Changes for core/tests/Drupal/KernelTests/KernelTestBase.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -955,7 +955,7 @@ private static function getModulesToEnable($class) { // Modules have been collected in reverse class hierarchy order; modules // defined by base classes should be sorted first. Then, merge the results // together. $modules = array_reverse($modules); $modules = array_values(array_reverse($modules)); return call_user_func_array('array_merge_recursive', $modules); } Loading