mirror of
https://github.com/danog/psalm.git
synced 2024-12-03 10:07:52 +01:00
Fix ParserCacheProvider::deleteOldParserCaches()
This commit is contained in:
parent
4a35a85939
commit
af23619653
@ -321,7 +321,7 @@ class ParserCacheProvider
|
||||
{
|
||||
$cache_directory = Config::getInstance()->getCacheDirectory();
|
||||
|
||||
if ($cache_directory) {
|
||||
if (!$cache_directory) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user