@@ -9,7 +9,6 @@ |
||
9 | 9 | use PHPSA\Node\Scalar\Nil; |
10 | 10 | use RuntimeException; |
11 | 11 | use Symfony\Component\Console\Output\ConsoleOutput; |
12 | -use PHPSA\Definition\ClassDefinition; |
|
13 | 12 | use PHPSA\Application; |
14 | 13 | use PhpParser\Node; |
15 | 14 | use Webiny\Component\EventManager\EventManager; |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | * Create a configuration from array. |
25 | 25 | * |
26 | 26 | * @param array $configuration |
27 | - * @param array $analyzersConfiguration |
|
27 | + * @param \Symfony\Component\Config\Definition\Builder\NodeDefinition[] $analyzersConfiguration |
|
28 | 28 | */ |
29 | 29 | public function __construct(array $configuration = [], array $analyzersConfiguration = []) |
30 | 30 | { |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | * Gets a configuration setting. |
105 | 105 | * |
106 | 106 | * @param string $key |
107 | - * @param mixed $default |
|
107 | + * @param string $default |
|
108 | 108 | * |
109 | 109 | * @return mixed |
110 | 110 | */ |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | protected $unresolvedGotos; |
34 | 34 | |
35 | 35 | /** |
36 | - * @param $statement |
|
36 | + * @param Function_ $statement |
|
37 | 37 | */ |
38 | 38 | public function __construct($statement) |
39 | 39 | { |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | |
125 | 125 | /** |
126 | 126 | * @param \PhpParser\Node\Expr $expr |
127 | - * @return Node\AbstractNode |
|
127 | + * @return Node\AbstractNode|null |
|
128 | 128 | */ |
129 | 129 | protected function passExpr(\PhpParser\Node\Expr $expr) |
130 | 130 | { |