From a03668a809892fe3abcbc18a9e4b632a2ba3ba17 Mon Sep 17 00:00:00 2001 From: Benni Mack <benni@typo3.org> Date: Sun, 6 Mar 2016 14:08:55 +0100 Subject: [PATCH] [FOLLOWUP][TASK] Use variable argument-lists instead of func_get_args() Fixed fatal error introduced with the previous patch. Resolves: #72071 Releases: master Signed-off-by: Benni Mack <benni@typo3.org> Change-Id: I3047c448d7526fafd65582fdbe7be196fa3795a4 Reviewed-on: https://review.typo3.org/47138 --- typo3/sysext/workspaces/Classes/Service/GridDataService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/workspaces/Classes/Service/GridDataService.php b/typo3/sysext/workspaces/Classes/Service/GridDataService.php index c0646188617c..8edebad40099 100644 --- a/typo3/sysext/workspaces/Classes/Service/GridDataService.php +++ b/typo3/sysext/workspaces/Classes/Service/GridDataService.php @@ -625,7 +625,7 @@ class GridDataService protected function emitSignal($signalName, ...$arguments) { // Arguments are always ($this, [method argument], [method argument], ...) - $signalArguments = $arguments + $signalArguments = $arguments; array_unshift($signalArguments, $this); $slotReturn = $this->getSignalSlotDispatcher()->dispatch(\TYPO3\CMS\Workspaces\Service\GridDataService::class, $signalName, $signalArguments); return array_slice($slotReturn, 1); -- GitLab