Clean else

This commit is contained in:
Gabriel Caruso 2017-12-15 01:00:17 -02:00 committed by Adrien Loison
parent 0efdf48119
commit 9f4e28b3fd

View File

@ -63,9 +63,9 @@ class CachingStrategyFactory
{ {
if ($this->isInMemoryStrategyUsageSafe($sharedStringsUniqueCount)) { if ($this->isInMemoryStrategyUsageSafe($sharedStringsUniqueCount)) {
return new InMemoryStrategy($sharedStringsUniqueCount); return new InMemoryStrategy($sharedStringsUniqueCount);
} else {
return new FileBasedStrategy($tempFolder, self::MAX_NUM_STRINGS_PER_TEMP_FILE, $helperFactory);
} }
return new FileBasedStrategy($tempFolder, self::MAX_NUM_STRINGS_PER_TEMP_FILE, $helperFactory);
} }
/** /**