File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -23,21 +23,18 @@ public function register()
2323
2424 $ this ->app ->bind (Manager::class, function () {
2525 return new Manager (
26- new Filesystem () ,
26+ new Filesystem ,
2727 $ this ->app ['config ' ]['langman.path ' ],
28- array_merge (
29- $ this ->app ['config ' ]['view.paths ' ],
30- (array ) app_path ()
31- )
28+ array_merge ($ this ->app ['config ' ]['view.paths ' ], [$ this ->app ['path ' ]])
3229 );
3330 });
3431
3532 $ this ->commands ([
36- \Themsaid \Langman \Commands \ShowCommand::class,
37- \Themsaid \Langman \Commands \FindCommand::class,
38- \Themsaid \Langman \Commands \TransCommand::class,
3933 \Themsaid \Langman \Commands \MissingCommand::class,
4034 \Themsaid \Langman \Commands \RemoveCommand::class,
35+ \Themsaid \Langman \Commands \TransCommand::class,
36+ \Themsaid \Langman \Commands \ShowCommand::class,
37+ \Themsaid \Langman \Commands \FindCommand::class,
4138 \Themsaid \Langman \Commands \SyncCommand::class,
4239 ]);
4340 }
You can’t perform that action at this time.
0 commit comments