Skip to content

Commit

Permalink
Fix phpstan issue
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-rath committed Sep 15, 2022
1 parent 5a2a5c8 commit 7cbe015
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Document/Structure/ArticleBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ public function setWebspaceKey($webspace)

public function getCacheLifeTime()
{
return $this->structure->getCacheLifetime();
/** @var array{type: string, value: string} $cacheLifetime */
$cacheLifetime = $this->structure->getCacheLifetime();

return $cacheLifetime;
}
}

0 comments on commit 7cbe015

Please sign in to comment.