[stable28] fix(files): Don't attempt to format a partial cache entrytags/v28.0.3rc1
@@ -91,7 +91,7 @@ class CacheWrapper extends Cache { | |||
*/ | |||
public function get($file) { | |||
$result = $this->getCache()->get($file); | |||
if ($result) { | |||
if ($result instanceof ICacheEntry) { | |||
$result = $this->formatCacheEntry($result); | |||
} | |||
return $result; |