Clean else

This commit is contained in:
Gabriel Caruso authored and Adrien Loison committed 2017-12-15 10:06:19 +01:00
1 parent 0efdf48119
commit 9f4e28b3fd
1 file changed
+2 -2
@@ -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);
} }
/** /**