Clean else
This commit is contained in:
parent
0efdf48119
commit
9f4e28b3fd
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user