|
@@ -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.