@@ -320,7 +320,7 @@ |
||
320 | 320 | } |
321 | 321 | |
322 | 322 | /** |
323 | - * @return string|integer|null |
|
323 | + * @return integer |
|
324 | 324 | */ |
325 | 325 | public function getCurrentBranch() |
326 | 326 | { |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use PHPSA\Compiler\Expression; |
9 | 9 | use PHPSA\Compiler\GlobalVariable; |
10 | 10 | use PHPSA\Definition\AbstractDefinition; |
11 | -use PHPSA\Definition\ParentDefinition; |
|
12 | 11 | use Symfony\Component\Console\Output\OutputInterface; |
13 | 12 | use Webiny\Component\EventManager\EventManager; |
14 | 13 |
@@ -142,7 +142,7 @@ |
||
142 | 142 | |
143 | 143 | /** |
144 | 144 | * @param \PhpParser\Node\Expr $expr |
145 | - * @return Node\AbstractNode |
|
145 | + * @return Node\AbstractNode|null |
|
146 | 146 | */ |
147 | 147 | protected function passExpr(\PhpParser\Node\Expr $expr) |
148 | 148 | { |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use RecursiveIteratorIterator; |
15 | 15 | use SplFileInfo; |
16 | 16 | use FilesystemIterator; |
17 | -use Symfony\Component\Config\FileLocator; |
|
18 | 17 | use Symfony\Component\Console\Input\InputArgument; |
19 | 18 | use Symfony\Component\Console\Input\InputInterface; |
20 | 19 | use Symfony\Component\Console\Input\InputOption; |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace PHPSA\Command; |
4 | 4 | |
5 | -use PhpParser\ParserFactory; |
|
6 | 5 | use PHPSA\Application; |
7 | 6 | use PHPSA\Compiler; |
8 | 7 | use PHPSA\Context; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace PHPSA\Command; |
4 | 4 | |
5 | 5 | use FilesystemIterator; |
6 | -use PhpParser\ParserFactory; |
|
7 | 6 | use PHPSA\Application; |
8 | 7 | use PHPSA\Compiler; |
9 | 8 | use PHPSA\Context; |
@@ -29,7 +29,7 @@ |
||
29 | 29 | * Create a configuration from array. |
30 | 30 | * |
31 | 31 | * @param array $configuration |
32 | - * @param array $analyzersConfiguration |
|
32 | + * @param \Symfony\Component\Config\Definition\Builder\NodeDefinition[] $analyzersConfiguration |
|
33 | 33 | */ |
34 | 34 | public function __construct(array $configuration = [], array $analyzersConfiguration = [], $path = "") |
35 | 35 | { |