File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ private function addCacheHeadersToWebResponse(): void
249249 $ this ->tags ->push (...$ existingTagsFromHeader );
250250 $ this ->tags = $ this ->prepareTags (...$ this ->tags );
251251
252- Craft::warning (new PsrMessage ('Adding cache tags to response ' , [
252+ Craft::info (new PsrMessage ('Adding cache tags to response ' , [
253253 'tags ' => $ this ->tags ,
254254 ]));
255255
@@ -294,7 +294,8 @@ public function purgeTags(string|StaticCacheTag ...$tags): void
294294
295295 // TODO: make sure we don't go over max header size
296296 Helper::makeGatewayApiRequest ([
297- HeaderEnum::CACHE_PURGE_TAG ->value => $ tags ->implode (', ' ),
297+ // Mapping to string because: https://github.com/laravel/framework/pull/54630
298+ HeaderEnum::CACHE_PURGE_TAG ->value => $ tags ->map (fn (StaticCacheTag $ tag ) => (string ) $ tag )->implode (', ' ),
298299 ]);
299300 }
300301
You can’t perform that action at this time.
0 commit comments