From a43a395761ef91400af09103b89ac5a205136cc2 Mon Sep 17 00:00:00 2001 From: Baptiste Lafontaine Date: Tue, 24 Dec 2024 15:21:16 +0000 Subject: [PATCH] Fix php8 compatibility --- src/Call/Handler/RuntimeCallHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Call/Handler/RuntimeCallHandler.php b/src/Call/Handler/RuntimeCallHandler.php index 05df5d4..52d5e8b 100644 --- a/src/Call/Handler/RuntimeCallHandler.php +++ b/src/Call/Handler/RuntimeCallHandler.php @@ -126,7 +126,7 @@ private function executeCall(Call $call) try { $this->call = $call; - $return = call_user_func_array($callable, $arguments); + $return = call_user_func_array($callable, array_values($arguments)); } catch (Exception $caught) { $exception = $caught; }