Skip to content

Commit

Permalink
TASK: Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebobo committed May 5, 2022
1 parent d7475c8 commit fb81829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Middleware/FusionAutoconfigurationMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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 = [];
Expand Down

0 comments on commit fb81829

Please sign in to comment.