We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -29,6 +29,9 @@ |
||
29 | 29 | $this->constraint = $this->createSymfonyConstraint($this->name, $params); |
30 | 30 | } |
31 | 31 | |
32 | + /** |
|
33 | + * @param string $constraintName |
|
34 | + */ |
|
32 | 35 | private function createSymfonyConstraint($constraintName, $constraintConstructorParameters = []) |
33 | 36 | { |
34 | 37 | $fullClassName = sprintf(self::SYMFONY_CONSTRAINT_NAMESPACE, $constraintName); |
@@ -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 | */ |
@@ -11,8 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace Respect\Validation; |
13 | 13 | |
14 | -use Respect\Validation\Exceptions\ComponentException; |
|
15 | - |
|
16 | 14 | /** |
17 | 15 | * Class to handle validation. |
18 | 16 | * |