Skip to content

Commit

Permalink
Update eZ/Publish/Core/Persistence/Cache/ContentHandler.php
Browse files Browse the repository at this point in the history
Co-authored-by: Konrad Oboza <[email protected]>
  • Loading branch information
mateuszbieniek and konradoboza authored Jan 4, 2024
1 parent 82d6a7d commit 9aa1131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eZ/Publish/Core/Persistence/Cache/ContentHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ public function updateContent($contentId, $versionNo, UpdateStruct $struct)
$locationTags = array_map(function (Content\Location $location): string {
return $this->cacheIdentifierGenerator->generateTag(self::LOCATION_IDENTIFIER, [$location->id]);
}, $locations);
$locationPathTags = array_map(function (Content\Location $location) {
$locationPathTags = array_map(function (Content\Location $location): string {
return $this->cacheIdentifierGenerator->generateTag(self::LOCATION_PATH_IDENTIFIER, [$location->id]);
}, $locations);

Expand Down

0 comments on commit 9aa1131

Please sign in to comment.