@@ -132,7 +132,7 @@ |
||
132 | 132 | |
133 | 133 | if (!array_key_exists($prop, $body)) { |
134 | 134 | if ($required !== false) { |
135 | - throw new NotMatchedException("Required property '$prop' in '$name' not found in object"); |
|
135 | + throw new NotMatchedException("Required property '$prop' in '$name' not found in object"); |
|
136 | 136 | } |
137 | 137 | unset($body[$prop]); |
138 | 138 | continue; |
@@ -21,7 +21,7 @@ |
||
21 | 21 | public function __construct($jsonFile, $allowNullValues = false) |
22 | 22 | { |
23 | 23 | $this->jsonFile = json_decode($jsonFile, true); |
24 | - $this->allowNullValues = (bool) $allowNullValues; |
|
24 | + $this->allowNullValues = (bool)$allowNullValues; |
|
25 | 25 | } |
26 | 26 | |
27 | 27 | public function getHttpSchema() |