@@ -26,6 +26,9 @@ |
||
| 26 | 26 | throw new BadMethodCallException('Arrays cannot be loaded from string. Use ArrayLoader::loadFile() instead'); |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | + /** |
|
| 30 | + * @param string $filename |
|
| 31 | + */ |
|
| 29 | 32 | private static function includeSafe($filename): array |
| 30 | 33 | { |
| 31 | 34 | return include($filename); |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Gettext\Loader; |
| 4 | 4 | |
| 5 | 5 | use Gettext\Translations; |
| 6 | -use Gettext\Translation; |
|
| 7 | 6 | use Gettext\Headers; |
| 8 | 7 | use BadMethodCallException; |
| 9 | 8 | |