From 7f79fdfe3658f2cb4411fecf9b81fc896ab3e0bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albrecht=20Ko=CC=88hnlein?= Date: Mon, 25 Mar 2024 14:57:14 +0100 Subject: [PATCH] BUGFIX: Fix argument order of implode() Passing the separator after the array is not supported since PHP 8.0 anymore --- .../Classes/Domain/Repository/NodeDataRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Neos.ContentRepository/Classes/Domain/Repository/NodeDataRepository.php b/Neos.ContentRepository/Classes/Domain/Repository/NodeDataRepository.php index 788ce045be6..6efbcefdde9 100644 --- a/Neos.ContentRepository/Classes/Domain/Repository/NodeDataRepository.php +++ b/Neos.ContentRepository/Classes/Domain/Repository/NodeDataRepository.php @@ -1302,7 +1302,7 @@ function (Workspace $workspace) { // Find the position of the workspace, a smaller value means more priority $workspacePosition = array_search($node->getWorkspace()->getName(), $workspaceNames); if ($workspacePosition === false) { - throw new Exception\NodeException(sprintf('Node workspace "%s" not found in allowed workspaces (%s), this could result from a detached workspace entity in the context.', $node->getWorkspace()->getName(), implode($workspaceNames, ', ')), 1413902143); + throw new Exception\NodeException(sprintf('Node workspace "%s" not found in allowed workspaces (%s), this could result from a detached workspace entity in the context.', $node->getWorkspace()->getName(), implode(', ', $workspaceNames)), 1413902143); } // Find positions in dimensions, add workspace in front for highest priority