Skip to content

Commit

Permalink
Merge pull request #4962 from koehnlein/feature/implode-arguments-order
Browse files Browse the repository at this point in the history
BUGFIX: Fix argument order of implode()
  • Loading branch information
dlubitz committed Mar 26, 2024
2 parents c6594e3 + 7f79fdf commit 704861d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 704861d

Please sign in to comment.