checkPath = $checkPath; } /** * @psalm-suppress MethodSignatureMustProvideReturnType */ protected function formatCacheEntry($entry) { $checkPath = $this->checkPath; if ($checkPath($entry['path'])) { return parent::formatCacheEntry($entry); } return $entry; } }