@@ -4,8 +4,8 @@ |
||
4 | 4 | |
5 | 5 | namespace Linio\Component\Input\Node; |
6 | 6 | |
7 | -use Linio\Component\Input\Exception\RequiredFieldException; |
|
8 | 7 | use Linio\Component\Input\Exception\InvalidConstraintException; |
8 | +use Linio\Component\Input\Exception\RequiredFieldException; |
|
9 | 9 | |
10 | 10 | class CollectionNode extends BaseNode |
11 | 11 | { |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Linio\Component\Input\Node; |
6 | 6 | |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | } |
32 | 32 | |
33 | 33 | foreach ($input as $inputItem) { |
34 | - if (! is_array($inputItem)) { |
|
34 | + if (!is_array($inputItem)) { |
|
35 | 35 | throw new InvalidConstraintException(sprintf('Value does not match type collection')); |
36 | 36 | } |
37 | 37 |