From fb818290cd57bd89c92569116714dd428ac6bfb8 Mon Sep 17 00:00:00 2001 From: Sebastian Helzle Date: Thu, 5 May 2022 15:19:47 +0200 Subject: [PATCH] TASK: Fix typo --- Classes/Middleware/FusionAutoconfigurationMiddleware.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/Middleware/FusionAutoconfigurationMiddleware.php b/Classes/Middleware/FusionAutoconfigurationMiddleware.php index 1381280..a178ae8 100644 --- a/Classes/Middleware/FusionAutoconfigurationMiddleware.php +++ b/Classes/Middleware/FusionAutoconfigurationMiddleware.php @@ -44,7 +44,7 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface $response = $response->withoutHeader(self::HEADER_ENABLED); - [$hasUncachedSegments, $tags, $lifetime] = $this->getFusionCacheInformations(); + [$hasUncachedSegments, $tags, $lifetime] = $this->getFusionCacheInformation(); if ($hasUncachedSegments || $response->hasHeader('Set-Cookie')) { return $response; @@ -71,7 +71,7 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface * * @return array with first "hasUncachedSegments", "tags" and "lifetime" */ - public function getFusionCacheInformations(): array + public function getFusionCacheInformation(): array { $lifetime = null; $tags = [];