Clean else
This commit is contained in:
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user