From 684bb2faba98c2606b05537ae9c3805717d0115b Mon Sep 17 00:00:00 2001 From: Bastian Waidelich Date: Fri, 8 Sep 2023 20:16:23 +0200 Subject: [PATCH] TASK: Cosmetic changes to satisfy linter (#3613) * TASK: Cosmetic changes to satisfy linter * more tweaks --- Classes/ContentRepository/Service/WorkspaceService.php | 1 - Classes/Domain/Model/ReferencingChangeInterface.php | 1 - Classes/Domain/Service/NodePropertyConverterService.php | 2 +- Classes/Fusion/Helper/NodeInfoHelper.php | 4 ++-- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Classes/ContentRepository/Service/WorkspaceService.php b/Classes/ContentRepository/Service/WorkspaceService.php index 7a55e24b05..2480a859e2 100644 --- a/Classes/ContentRepository/Service/WorkspaceService.php +++ b/Classes/ContentRepository/Service/WorkspaceService.php @@ -32,7 +32,6 @@ */ class WorkspaceService { - /** * @Flow\Inject * @var UserService diff --git a/Classes/Domain/Model/ReferencingChangeInterface.php b/Classes/Domain/Model/ReferencingChangeInterface.php index 59e06499f6..24f1ba1a87 100644 --- a/Classes/Domain/Model/ReferencingChangeInterface.php +++ b/Classes/Domain/Model/ReferencingChangeInterface.php @@ -13,7 +13,6 @@ use Neos\ContentRepository\Core\Projection\ContentGraph\Node; - /** * A change that needs to reference another node */ diff --git a/Classes/Domain/Service/NodePropertyConverterService.php b/Classes/Domain/Service/NodePropertyConverterService.php index cc2a4389d4..90a71e41dd 100644 --- a/Classes/Domain/Service/NodePropertyConverterService.php +++ b/Classes/Domain/Service/NodePropertyConverterService.php @@ -144,7 +144,7 @@ public function getProperty(Node $node, $propertyName) ); return $this->toNodeIdentifierStrings($references); - // Here, the normal property access logic starts. + // Here, the normal property access logic starts. } elseif ($propertyName[0] === '_' && $propertyName !== '_hiddenInIndex') { $propertyValue = ObjectAccess::getProperty($node, ltrim($propertyName, '_')); } else { diff --git a/Classes/Fusion/Helper/NodeInfoHelper.php b/Classes/Fusion/Helper/NodeInfoHelper.php index d85ac50063..99242bd3de 100644 --- a/Classes/Fusion/Helper/NodeInfoHelper.php +++ b/Classes/Fusion/Helper/NodeInfoHelper.php @@ -281,8 +281,8 @@ protected function renderChildrenInformation(Node $node, string $nodeTypeFilterS // child nodes for content tree, must not include those nodes filtered out by `baseNodeType` $contentChildNodes = $subgraph->findChildNodes( $node->nodeAggregateId, - FindChildNodesFilter::create(nodeTypeConstraints: - $this->buildContentChildNodeFilterString() + FindChildNodesFilter::create( + nodeTypeConstraints: $this->buildContentChildNodeFilterString() ) ); $childNodes = $documentChildNodes->merge($contentChildNodes);