@@ -27,7 +27,7 @@ |
||
27 | 27 | |
28 | 28 | |
29 | 29 | /** |
30 | - * @param $className |
|
30 | + * @param string $className |
|
31 | 31 | * @throws \Exception |
32 | 32 | */ |
33 | 33 | public function loadCommandsFromClass($className) |
@@ -11,7 +11,6 @@ |
||
11 | 11 | use PhpBoot\Console\ConsoleContainer; |
12 | 12 | use PhpBoot\Console\ConsoleContainerBuilder; |
13 | 13 | use PhpBoot\DI\Traits\EnableDIAnnotations; |
14 | -use Symfony\Component\Console\Command\Command; |
|
15 | 14 | use Symfony\Component\Console\Input\InputInterface; |
16 | 15 | use Symfony\Component\Console\Output\OutputInterface; |
17 | 16 |
@@ -2,17 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace PhpBoot\Console\Annotations; |
4 | 4 | |
5 | -use DI\InvokerInterface; |
|
6 | -use FastRoute\RouteParser\Std; |
|
7 | 5 | use PhpBoot\Console\Command; |
8 | 6 | use PhpBoot\Console\ConsoleContainer; |
9 | 7 | use PhpBoot\Entity\ContainerFactory; |
10 | 8 | use PhpBoot\Entity\EntityContainerBuilder; |
11 | -use PhpBoot\Metas\ReturnMeta; |
|
12 | -use PhpBoot\Annotation\AnnotationBlock; |
|
13 | -use PhpBoot\Annotation\AnnotationTag; |
|
14 | -use PhpBoot\Entity\MixedTypeContainer; |
|
15 | -use PhpBoot\Exceptions\AnnotationSyntaxException; |
|
16 | 9 | use PhpBoot\Metas\ParamMeta; |
17 | 10 | use PhpBoot\Utils\AnnotationParams; |
18 | 11 |
@@ -64,6 +64,9 @@ |
||
64 | 64 | } |
65 | 65 | } |
66 | 66 | |
67 | + /** |
|
68 | + * @param string|null $name |
|
69 | + */ |
|
67 | 70 | public function getParamMeta($name) |
68 | 71 | { |
69 | 72 | foreach ($this->paramMetas as $meta){ |