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 0bc8d92 commit 82d6a7d
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 @@ -330,7 +330,7 @@ public function updateContent($contentId, $versionNo, UpdateStruct $struct)
$content = $this->persistenceHandler->contentHandler()->updateContent($contentId, $versionNo, $struct);
$locations = $this->persistenceHandler->locationHandler()->loadLocationsByContent($contentId);

$locationTags = array_map(function (Content\Location $location) {
$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) {
Expand Down

0 comments on commit 82d6a7d

Please sign in to comment.