Skip to content

Commit a6b1f1e

Browse files
authored
Revert overtrue#121
1 parent 26040b2 commit a6b1f1e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/MemoryFileDictLoader.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ public function __construct($path)
5555
{
5656
$this->path = $path;
5757

58-
$dirs = scandir($this->path);
59-
$size = count($dirs) - 2;
60-
for ($i = 0; $i < $size; ++$i) {
58+
for ($i = 0; $i < 100; ++$i) {
6159
$segment = $path.'/'.sprintf($this->segmentName, $i);
6260

6361
if (file_exists($segment)) {

0 commit comments

Comments
 (0)