From 9aa11310246c182cf6f32dc35261ca036fe69926 Mon Sep 17 00:00:00 2001 From: Mateusz Bieniek Date: Thu, 4 Jan 2024 11:18:32 +0100 Subject: [PATCH] Update eZ/Publish/Core/Persistence/Cache/ContentHandler.php Co-authored-by: Konrad Oboza --- eZ/Publish/Core/Persistence/Cache/ContentHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eZ/Publish/Core/Persistence/Cache/ContentHandler.php b/eZ/Publish/Core/Persistence/Cache/ContentHandler.php index ba41342b57..6e9a3fd339 100644 --- a/eZ/Publish/Core/Persistence/Cache/ContentHandler.php +++ b/eZ/Publish/Core/Persistence/Cache/ContentHandler.php @@ -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);