@@ -72,7 +72,7 @@ |
||
| 72 | 72 | } |
| 73 | 73 | |
| 74 | 74 | /** |
| 75 | - * @return object |
|
| 75 | + * @return \stdClass |
|
| 76 | 76 | */ |
| 77 | 77 | private function assembleRequestSchema() |
| 78 | 78 | { |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | |
| 9 | 9 | namespace KleijnWeb\SwaggerBundle\Tests\Request; |
| 10 | 10 | |
| 11 | -use KleijnWeb\SwaggerBundle\Request\ContentDecoder; |
|
| 12 | 11 | use KleijnWeb\SwaggerBundle\Request\RequestCoercer; |
| 13 | 12 | use KleijnWeb\SwaggerBundle\Request\RequestProcessor; |
| 14 | 13 | use KleijnWeb\SwaggerBundle\Request\RequestValidator; |
@@ -90,7 +90,7 @@ |
||
| 90 | 90 | |
| 91 | 91 | $operationDefinition = [ |
| 92 | 92 | 'parameters' => (object)[ |
| 93 | - (object) [ |
|
| 93 | + (object)[ |
|
| 94 | 94 | 'name' => 'myContent', |
| 95 | 95 | 'in' => 'body' |
| 96 | 96 | ] |
@@ -197,7 +197,7 @@ |
||
| 197 | 197 | { |
| 198 | 198 | $exception = new ResourceNotReadableException("Failed reading '$uri'"); |
| 199 | 199 | |
| 200 | - set_error_handler(function () use ($exception) { |
|
| 200 | + set_error_handler(function() use ($exception) { |
|
| 201 | 201 | throw $exception; |
| 202 | 202 | }); |
| 203 | 203 | $response = file_get_contents($uri); |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | private $yamlParser; |
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | - * @param object $document |
|
| 40 | + * @param \stdClass|null $document |
|
| 41 | 41 | * @param string $uri |
| 42 | 42 | * @param YamlParser $yamlParser |
| 43 | 43 | */ |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | /** |
| 35 | 35 | * @param string $string |
| 36 | 36 | * |
| 37 | - * @return object |
|
| 37 | + * @return \stdClass|null |
|
| 38 | 38 | */ |
| 39 | 39 | public function parse($string) |
| 40 | 40 | { |