@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | } |
131 | 131 | |
132 | 132 | /** |
133 | - * @param $status |
|
133 | + * @param integer $status |
|
134 | 134 | */ |
135 | 135 | protected function terminate($status) |
136 | 136 | { |
@@ -139,6 +139,7 @@ discard block |
||
139 | 139 | |
140 | 140 | /** |
141 | 141 | * @param $log |
142 | + * @param string $logfile |
|
142 | 143 | * @return $this |
143 | 144 | */ |
144 | 145 | protected function log($logfile, $log) |
@@ -152,7 +153,7 @@ discard block |
||
152 | 153 | } |
153 | 154 | |
154 | 155 | /** |
155 | - * @param $debugKey |
|
156 | + * @param string $debugKey |
|
156 | 157 | * @param $value |
157 | 158 | * @return $this |
158 | 159 | */ |
@@ -163,7 +164,7 @@ discard block |
||
163 | 164 | } |
164 | 165 | |
165 | 166 | /** |
166 | - * @param $debugKey |
|
167 | + * @param string $debugKey |
|
167 | 168 | * @return $this |
168 | 169 | */ |
169 | 170 | public function clear($debugKey) |
@@ -49,7 +49,7 @@ |
||
49 | 49 | } |
50 | 50 | |
51 | 51 | /** |
52 | - * @param $key |
|
52 | + * @param string $key |
|
53 | 53 | * @return null |
54 | 54 | */ |
55 | 55 | public function get($key) |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Hal\Metric\Class_; |
3 | 3 | |
4 | -use Hal\Component\Reflected\Method; |
|
5 | 4 | use Hal\Metric\ClassMetric; |
6 | 5 | use Hal\Metric\FunctionMetric; |
7 | 6 | use Hal\Metric\Helper\RoleOfMethodDetector; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | |
4 | 4 | use Hal\Metric\FunctionMetric; |
5 | 5 | use Hal\Metric\Metrics; |
6 | -use Hoa\Ruler\Model\Bag\Scalar; |
|
7 | 6 | use PhpParser\Node; |
8 | 7 | use PhpParser\Node\Stmt; |
9 | 8 | use PhpParser\NodeVisitorAbstract; |
@@ -109,8 +109,8 @@ |
||
109 | 109 | } |
110 | 110 | |
111 | 111 | /** |
112 | - * @param $source |
|
113 | - * @param $destination |
|
112 | + * @param string $source |
|
113 | + * @param string $destination |
|
114 | 114 | * @return $this |
115 | 115 | */ |
116 | 116 | public function renderPage($source, $destination, Consolidated $consolidated, $history) |
@@ -4,7 +4,6 @@ |
||
4 | 4 | use Hal\Application\Config\Config; |
5 | 5 | use Hal\Component\Output\Output; |
6 | 6 | use Hal\Metric\Consolidated; |
7 | -use Hal\Metric\Consolided; |
|
8 | 7 | use Hal\Metric\Metrics; |
9 | 8 | |
10 | 9 | class Reporter |
@@ -21,6 +21,9 @@ |
||
21 | 21 | { |
22 | 22 | protected $stopCondition; |
23 | 23 | |
24 | + /** |
|
25 | + * @param \Closure $stopCondition |
|
26 | + */ |
|
24 | 27 | public function __construct($cloneNodes = false, $stopCondition = null) |
25 | 28 | { |
26 | 29 | parent::__construct($cloneNodes); |
@@ -3,7 +3,6 @@ |
||
3 | 3 | |
4 | 4 | use Hal\Application\Config\Config; |
5 | 5 | use Hal\Component\Output\Output; |
6 | -use Hal\Metric\Consolided; |
|
7 | 6 | use Hal\Metric\Metrics; |
8 | 7 | use Hal\Violation\Violation; |
9 | 8 |
@@ -22,7 +22,7 @@ |
||
22 | 22 | /** |
23 | 23 | * Reporter constructor. |
24 | 24 | * @param Config $config |
25 | - * @param OutputInterface $output |
|
25 | + * @param Output $output |
|
26 | 26 | */ |
27 | 27 | public function __construct(Config $config, Output $output) |
28 | 28 | { |