Completed
Push — develop ( 74dbd7...d5cb43 )
by Paul
02:08
created
src/Annotation/ParamsAnnotation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         } catch (JsonException $exception) {
44 44
             throw new AnnotationParseException('"params" annotation content is invalid (invalid JSON content)');
45 45
         }
46
-        if (! Validator::arrayVal()->each(Validator::stringType(), Validator::intType())->validate($decoded)) {
46
+        if (!Validator::arrayVal()->each(Validator::stringType(), Validator::intType())->validate($decoded)) {
47 47
             throw new AnnotationParseException('"params" annotation content is invalid (must contains strings only)');
48 48
         }
49 49
         $this->parameters = $decoded;
Please login to merge, or discard this patch.