Fix easy errors found by PHPStan
[MAILPOET-2588]
This commit is contained in:
@ -60,10 +60,12 @@ class MetadataCache extends CacheProvider {
|
||||
if ($result === false) {
|
||||
throw new \RuntimeException("Error while writing to '$filename'");
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
protected function doDelete($id) {
|
||||
@unlink($this->getFilename($id));
|
||||
return true;
|
||||
}
|
||||
|
||||
protected function doFlush() {
|
||||
@ -72,6 +74,7 @@ class MetadataCache extends CacheProvider {
|
||||
@unlink($filename);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
protected function doGetStats() {
|
||||
|
Reference in New Issue
Block a user