File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public function __invoke(Container $container): LoaderContract
1818 : BASE_PATH . DIRECTORY_SEPARATOR . 'lang ' ;
1919
2020 return new FileLoader (
21- $ container ->get (Filesystem::class),
21+ $ container ->make (Filesystem::class),
2222 [
2323 dirname (__DIR__ ) . DIRECTORY_SEPARATOR . 'lang ' ,
2424 $ langPath ,
Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ class TranslatorFactory
1212{
1313 public function __invoke (Container $ container ): TranslatorContract
1414 {
15- $ config = $ container ->get ('config ' );
15+ $ config = $ container ->make ('config ' );
1616
1717 // When registering the translator component, we'll need to set the default
1818 // locale as well as the fallback locale. So, we'll grab the application
1919 // configuration so we can easily get both of these values from there.
2020 $ trans = new Translator (
21- $ container ->get (LoaderContract::class),
21+ $ container ->make (LoaderContract::class),
2222 $ config ->get ('app.locale ' , 'en ' )
2323 );
2424
You can’t perform that action at this time.
0 commit comments