Skip to content

Commit 88d55db

Browse files
author
Jonathan
committed
clean
1 parent 27f9669 commit 88d55db

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/Console/RemoveService.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,14 @@ class RemoveService extends Command
2424
*/
2525
protected $description = 'Remove a service';
2626

27-
public RemoveCommentableService $removeCommentableService;
2827
public MakeGlobalService $makeGlobalService;
2928
public PathsAndNamespacesService $pathsAndNamespacesService;
30-
public function __construct(RemoveCommentableService $removeCommentableService,MakeGlobalService $makeGlobalService, PathsAndNamespacesService $pathsAndNamespacesService)
29+
public function __construct(
30+
MakeGlobalService $makeGlobalService,
31+
PathsAndNamespacesService $pathsAndNamespacesService
32+
)
3133
{
3234
parent::__construct();
33-
$this->removeCommentableService = $removeCommentableService;
3435
$this->makeGlobalService = $makeGlobalService;
3536
$this->pathsAndNamespacesService = $pathsAndNamespacesService;
3637
}
@@ -44,7 +45,7 @@ public function handle()
4445
{
4546
// we create our variables to respect the naming conventions
4647
$serviceName = ucfirst($this->argument('service_name'));
47-
$namingConvention = $this->makeGlobalService->getCommentableNamingConvention($serviceName );
48+
$namingConvention = $this->makeGlobalService->getCommentableNamingConvention($serviceName);
4849
$force = $this->option('force');
4950

5051
$completePath = $this->pathsAndNamespacesService->getRealpathBaseCustomService($namingConvention);

0 commit comments

Comments
 (0)