@@ -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; |
@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace ByJG\Swagger; |
4 | 4 | |
5 | -use GuzzleHttp\Client; |
|
6 | -use GuzzleHttp\Exception\BadResponseException; |
|
7 | 5 | use GuzzleHttp\Psr7\Request; |
8 | 6 | use PHPUnit\Framework\TestCase; |
9 | 7 |