Skip to content

Commit e7205d4

Browse files
OskarStarkjaviereguiluz
authored andcommitted
fixed typo and removed unused use statements
1 parent 774aeb2 commit e7205d4

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/Command/MakeCommandCommand.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
use Symfony\Bundle\MakerBundle\Validator;
1818
use Symfony\Component\Console\Command\Command;
1919
use Symfony\Component\Console\Input\InputArgument;
20-
use Symfony\Component\Console\Input\InputInterface;
21-
use Symfony\Component\Console\Output\OutputInterface;
2220

2321
/**
2422
* @author Javier Eguiluz <[email protected]>

src/Command/MakeControllerCommand.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
use Symfony\Bundle\MakerBundle\Str;
1818
use Symfony\Bundle\MakerBundle\Validator;
1919
use Symfony\Component\Console\Input\InputArgument;
20-
use Symfony\Component\Console\Input\InputInterface;
21-
use Symfony\Component\Console\Output\OutputInterface;
2220
use Symfony\Component\Routing\RouterInterface;
2321
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
2422

@@ -56,7 +54,7 @@ protected function getParameters(): array
5654
return [
5755
'controller_class_name' => $controllerClassName,
5856
'route_path' => Str::asRoutePath(str_replace('Controller', '', $controllerClassName)),
59-
'route_name' => Str::asRouteNAme(str_replace('Controller', '', $controllerClassName))
57+
'route_name' => Str::asRouteName(str_replace('Controller', '', $controllerClassName))
6058
];
6159
}
6260

0 commit comments

Comments
 (0)