diff --git a/Classes/Neos/Neos/Ui/Controller/BackendServiceController.php b/Classes/Neos/Neos/Ui/Controller/BackendServiceController.php index fa081afd46..eeb8887e6f 100644 --- a/Classes/Neos/Neos/Ui/Controller/BackendServiceController.php +++ b/Classes/Neos/Neos/Ui/Controller/BackendServiceController.php @@ -107,7 +107,7 @@ class BackendServiceController extends ActionController * @param ResponseInterface $response * @return void */ - public function initializeController(RequestInterface $request, ResponseInterface $response): void + public function initializeController(RequestInterface $request, ResponseInterface $response) { parent::initializeController($request, $response); $this->feedbackCollection->setControllerContext($this->getControllerContext()); @@ -119,7 +119,7 @@ public function initializeController(RequestInterface $request, ResponseInterfac * @param string $documentNodeContextPath * @return void */ - protected function updateWorkspaceInfo(string $documentNodeContextPath): void + protected function updateWorkspaceInfo(string $documentNodeContextPath) { $updateWorkspaceInfo = new UpdateWorkspaceInfo(); $documentNode = $this->nodeService->getNodeFromContextPath($documentNodeContextPath, null, null, true); @@ -136,7 +136,7 @@ protected function updateWorkspaceInfo(string $documentNodeContextPath): void * @param ChangeCollection $changes * @return void */ - public function changeAction(ChangeCollection $changes): void + public function changeAction(ChangeCollection $changes) { try { $count = $changes->count(); @@ -164,7 +164,7 @@ public function changeAction(ChangeCollection $changes): void * @param string $targetWorkspaceName * @return void */ - public function publishAction(array $nodeContextPaths, string $targetWorkspaceName): void + public function publishAction(array $nodeContextPaths, string $targetWorkspaceName) { try { $targetWorkspace = $this->workspaceRepository->findOneByName($targetWorkspaceName); @@ -197,7 +197,7 @@ public function publishAction(array $nodeContextPaths, string $targetWorkspaceNa * @param array $nodeContextPaths * @return void */ - public function discardAction(array $nodeContextPaths): void + public function discardAction(array $nodeContextPaths) { try { foreach ($nodeContextPaths as $contextPath) { @@ -255,7 +255,7 @@ public function discardAction(array $nodeContextPaths): void * @return void * @throws \Exception */ - public function changeBaseWorkspaceAction(string $targetWorkspaceName, NodeInterface $documentNode): void + public function changeBaseWorkspaceAction(string $targetWorkspaceName, NodeInterface $documentNode) { try { $targetWorkspace = $this->workspaceRepository->findOneByName($targetWorkspaceName); @@ -337,7 +337,7 @@ public function initializeLoadTreeAction() * @param boolean $includeRoot * @return void */ - public function loadTreeAction(NodeTreeBuilder $nodeTreeArguments, $includeRoot = false): void + public function loadTreeAction(NodeTreeBuilder $nodeTreeArguments, $includeRoot = false) { $nodeTreeArguments->setControllerContext($this->controllerContext); $this->view->assign('value', $nodeTreeArguments->build($includeRoot)); diff --git a/Classes/Neos/Neos/Ui/Domain/Model/Feedback/Operations/Redirect.php b/Classes/Neos/Neos/Ui/Domain/Model/Feedback/Operations/Redirect.php index 5b6c00bf1f..f2877f680b 100644 --- a/Classes/Neos/Neos/Ui/Domain/Model/Feedback/Operations/Redirect.php +++ b/Classes/Neos/Neos/Ui/Domain/Model/Feedback/Operations/Redirect.php @@ -33,7 +33,7 @@ class Redirect implements FeedbackInterface * @param NodeInterface $node * @return void */ - public function setNode(NodeInterface $node): void + public function setNode(NodeInterface $node) { $this->node = $node; }