diff --git a/src/Classes/ExportLocalizations.php b/src/Classes/ExportLocalizations.php index 01c8c0e..0b0593a 100644 --- a/src/Classes/ExportLocalizations.php +++ b/src/Classes/ExportLocalizations.php @@ -338,7 +338,7 @@ protected function parseJsonFiles($file, $key, $dir) public static function exportToArray() { - return app()->make(self::class)->export()->toArray(); + return \KgBot\LaravelLocalization\Facades\ExportLocalizations::export()->toArray(); } protected static function executeCallback($strings)