Skip to content

Commit

Permalink
replace app()->make() by Facade for backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick-De-Caluwe committed Mar 31, 2020
1 parent ef8f706 commit 5aac735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Classes/ExportLocalizations.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5aac735

Please sign in to comment.