We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26040b2 commit a6b1f1eCopy full SHA for a6b1f1e
src/MemoryFileDictLoader.php
@@ -55,9 +55,7 @@ public function __construct($path)
55
{
56
$this->path = $path;
57
58
- $dirs = scandir($this->path);
59
- $size = count($dirs) - 2;
60
- for ($i = 0; $i < $size; ++$i) {
+ for ($i = 0; $i < 100; ++$i) {
61
$segment = $path.'/'.sprintf($this->segmentName, $i);
62
63
if (file_exists($segment)) {
0 commit comments