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 | */ |
@@ -49,6 +49,9 @@ |
||
49 | 49 | return $this; |
50 | 50 | } |
51 | 51 | |
52 | + /** |
|
53 | + * @param string $type |
|
54 | + */ |
|
52 | 55 | private function decision($type, $hasReference, $input) |
53 | 56 | { |
54 | 57 | return (!$this->mandatory && !$hasReference) |
@@ -15,7 +15,6 @@ |
||
15 | 15 | |
16 | 16 | use finfo; |
17 | 17 | use ReflectionClass; |
18 | -use Respect\Validation\Exceptions\AllOfException; |
|
19 | 18 | use Respect\Validation\Exceptions\ComponentException; |
20 | 19 | use Respect\Validation\Exceptions\ValidationException; |
21 | 20 | use Respect\Validation\Rules\AllOf; |