Skip to content

Commit

Permalink
#117 fix Class not use
Browse files Browse the repository at this point in the history
  • Loading branch information
bfoujols committed Aug 23, 2024
1 parent a2f58da commit 891a2b5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/EduFramework/Commands/CreateApiCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,6 @@ private function generateController(string $className, array $router): void
//Add Imports
$namespace->addUse('Studoo\EduFramework\Core\Controller\ControllerInterface');
$namespace->addUse('Studoo\EduFramework\Core\Controller\Request');
$namespace->addUse('Studoo\EduFramework\Core\View\TwigCore');
$namespace->addUse('Twig\Error\LoaderError');
$namespace->addUse('Twig\Error\RuntimeError');
$namespace->addUse('Twig\Error\SyntaxError');
$namespace->addUse('OpenApi\Attributes');
//Generate ClassName
$class = $namespace->addClass($className);
Expand Down

0 comments on commit 891a2b5

Please sign in to comment.