Skip to content
This repository was archived by the owner on Jul 16, 2020. It is now read-only.

Commit e674e5a

Browse files
committed
correcting the namespace for subdirs
1 parent 21552b0 commit e674e5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Generator.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ private function allocateLocaleArray($path)
5050
// Check if the "file" is a subdirectory which has to be scanned.
5151
if ($fileinfo->isDir()) {
5252
// Recursivley iterate through subdirs, until everything was allocated.
53-
$data = $this->allocateLocaleArray($path . '/' . $fileinfo->getFilename());
53+
$data[$fileinfo->getFilename()] =
54+
$this->allocateLocaleArray($path . '/' . $fileinfo->getFilename());
5455
} else {
5556
$noExt = $this->removeExtension($fileinfo->getFilename());
5657

0 commit comments

Comments
 (0)