Skip to content

Commit 56e269a

Browse files
committed
removed unused properties from EnumeratedNode::jsonSerialize
1 parent 6482c00 commit 56e269a

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

Classes/NodeEnumeration/Domain/Dto/EnumeratedNode.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,8 @@ public function jsonSerialize(): array
6868
return [
6969
'contextPath' => $this->contextPath,
7070
'nodeIdentifier' => $this->nodeIdentifier,
71-
'dimensions' => $this->getDimensionsFromContextPath(),
72-
'workspaceName' => $this->getWorkspaceNameFromContextPath(),
73-
'arguments' => $this->arguments,
7471
'nodeTypeName' => $this->nodeTypeName,
72+
'arguments' => $this->arguments,
7573
];
7674
}
7775

Classes/NodeRendering/Infrastructure/RedisContentCacheReader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ protected function buildRedisScript(): string
116116
$contentCacheEndToken = ContentCache::CACHE_SEGMENT_END_TOKEN;
117117
$contentCacheMarker = ContentCache::CACHE_SEGMENT_MARKER;
118118

119-
return "
119+
return <<<LUA
120120
local rootIdentifier = ARGV[1]
121121
local identifierPrefix = ARGV[2]
122122
@@ -164,7 +164,7 @@ protected function buildRedisScript(): string
164164
end
165165
166166
return {content, error}
167-
";
167+
LUA;
168168
}
169169

170170
/**

0 commit comments

Comments
 (0)