@@ -88,7 +88,7 @@ |
||
88 | 88 | new Error( |
89 | 89 | $path.'[_all]', |
90 | 90 | 'constraint.uniquemodel.notunique', |
91 | - ['uniqueProperties' => 'name'] |
|
91 | + ['uniqueProperties' => 'name'] |
|
92 | 92 | ), |
93 | 93 | ]; |
94 | 94 | } |
@@ -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 Chubbyphp\ApiSkeleton\Validation; |
6 | 6 | |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | new PropertyMapping('active', [new NotNullConstraint(), new NotBlankConstraint()]), |
76 | 76 | new PropertyMapping('documents', [ |
77 | 77 | new ModelCollectionConstraint(), |
78 | - new CallbackConstraint(function (string $path, $collection) { |
|
78 | + new CallbackConstraint(function(string $path, $collection) { |
|
79 | 79 | if (!$collection instanceof ModelCollectionInterface) { |
80 | 80 | return []; |
81 | 81 | } |