File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,14 @@ class RemoveService extends Command
24
24
*/
25
25
protected $ description = 'Remove a service ' ;
26
26
27
- public RemoveCommentableService $ removeCommentableService ;
28
27
public MakeGlobalService $ makeGlobalService ;
29
28
public PathsAndNamespacesService $ pathsAndNamespacesService ;
30
- public function __construct (RemoveCommentableService $ removeCommentableService ,MakeGlobalService $ makeGlobalService , PathsAndNamespacesService $ pathsAndNamespacesService )
29
+ public function __construct (
30
+ MakeGlobalService $ makeGlobalService ,
31
+ PathsAndNamespacesService $ pathsAndNamespacesService
32
+ )
31
33
{
32
34
parent ::__construct ();
33
- $ this ->removeCommentableService = $ removeCommentableService ;
34
35
$ this ->makeGlobalService = $ makeGlobalService ;
35
36
$ this ->pathsAndNamespacesService = $ pathsAndNamespacesService ;
36
37
}
@@ -44,7 +45,7 @@ public function handle()
44
45
{
45
46
// we create our variables to respect the naming conventions
46
47
$ serviceName = ucfirst ($ this ->argument ('service_name ' ));
47
- $ namingConvention = $ this ->makeGlobalService ->getCommentableNamingConvention ($ serviceName );
48
+ $ namingConvention = $ this ->makeGlobalService ->getCommentableNamingConvention ($ serviceName );
48
49
$ force = $ this ->option ('force ' );
49
50
50
51
$ completePath = $ this ->pathsAndNamespacesService ->getRealpathBaseCustomService ($ namingConvention );
You can’t perform that action at this time.
0 commit comments