We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21552b0 commit e674e5aCopy full SHA for e674e5a
src/Generator.php
@@ -50,7 +50,8 @@ private function allocateLocaleArray($path)
50
// Check if the "file" is a subdirectory which has to be scanned.
51
if ($fileinfo->isDir()) {
52
// Recursivley iterate through subdirs, until everything was allocated.
53
- $data = $this->allocateLocaleArray($path . '/' . $fileinfo->getFilename());
+ $data[$fileinfo->getFilename()] =
54
+ $this->allocateLocaleArray($path . '/' . $fileinfo->getFilename());
55
} else {
56
$noExt = $this->removeExtension($fileinfo->getFilename());
57
0 commit comments