We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -56,7 +56,7 @@ |
||
56 | 56 | /** |
57 | 57 | * @todo Move it to a trait |
58 | 58 | * |
59 | - * @param mixed $size |
|
59 | + * @param string $size |
|
60 | 60 | * |
61 | 61 | * @return int |
62 | 62 | */ |
@@ -19,6 +19,9 @@ |
||
19 | 19 | public $maxValue; |
20 | 20 | public $inclusive; |
21 | 21 | |
22 | + /** |
|
23 | + * @param integer $min |
|
24 | + */ |
|
22 | 25 | public function __construct($min = null, $max = null, $inclusive = true) |
23 | 26 | { |
24 | 27 | $this->minValue = $min; |
@@ -230,6 +230,9 @@ discard block |
||
230 | 230 | return static::format($template, $vars); |
231 | 231 | } |
232 | 232 | |
233 | + /** |
|
234 | + * @param string $name |
|
235 | + */ |
|
233 | 236 | public function getParam($name) |
234 | 237 | { |
235 | 238 | return $this->hasParam($name) ? $this->params[$name] : false; |
@@ -254,6 +257,9 @@ discard block |
||
254 | 257 | return isset($this->params[$name]); |
255 | 258 | } |
256 | 259 | |
260 | + /** |
|
261 | + * @param string $id |
|
262 | + */ |
|
257 | 263 | public function setId($id) |
258 | 264 | { |
259 | 265 | $this->id = $id; |
@@ -278,6 +284,9 @@ discard block |
||
278 | 284 | return $this; |
279 | 285 | } |
280 | 286 | |
287 | + /** |
|
288 | + * @param string $key |
|
289 | + */ |
|
281 | 290 | public function setParam($key, $value) |
282 | 291 | { |
283 | 292 | $this->params[$key] = $value; |