@@ -8,8 +8,6 @@ |
||
| 8 | 8 | |
| 9 | 9 | namespace KleijnWeb\SwaggerBundle\Document; |
| 10 | 10 | |
| 11 | -use JsonSchema\RefResolver; |
|
| 12 | -use JsonSchema\Uri\UriRetriever; |
|
| 13 | 11 | use Symfony\Component\Yaml\Yaml; |
| 14 | 12 | |
| 15 | 13 | /** |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * @return array |
|
| 49 | + * @return \ArrayObject |
|
| 50 | 50 | */ |
| 51 | 51 | public function getDefinition() |
| 52 | 52 | { |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | } |
| 107 | 107 | |
| 108 | 108 | /** |
| 109 | - * @param null $targetPath |
|
| 109 | + * @param string $targetPath |
|
| 110 | 110 | * |
| 111 | 111 | * @return void |
| 112 | 112 | */ |
@@ -69,7 +69,7 @@ |
||
| 69 | 69 | /** |
| 70 | 70 | * Deserializes data into the given type. |
| 71 | 71 | * |
| 72 | - * @param mixed $data |
|
| 72 | + * @param string $data |
|
| 73 | 73 | * @param string $type |
| 74 | 74 | * @param string $format |
| 75 | 75 | * @param SerializationContext|array $context |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | class PetStoreBundle extends Bundle |
| 21 | 21 | { |
| 22 | 22 | /** |
| 23 | - * @return ExtensionInterface |
|
| 23 | + * @return boolean |
|
| 24 | 24 | */ |
| 25 | 25 | public function getContainerExtension() |
| 26 | 26 | { |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | namespace KleijnWeb\SwaggerBundle\Tests\Request\ContentDecoder; |
| 10 | 10 | |
| 11 | 11 | use JMS\Serializer\Serializer; |
| 12 | -use JMS\Serializer\SerializerBuilder; |
|
| 13 | 12 | use KleijnWeb\SwaggerBundle\Request\ContentDecoder; |
| 14 | 13 | use KleijnWeb\SwaggerBundle\Serializer\JmsSerializerFactory; |
| 15 | 14 | use KleijnWeb\SwaggerBundle\Serializer\SerializationTypeResolver; |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | * |
| 47 | 47 | * @codeCoverageIgnore |
| 48 | 48 | * |
| 49 | - * @param $swaggerPath |
|
| 49 | + * @param string $swaggerPath |
|
| 50 | 50 | * |
| 51 | 51 | * @throws \InvalidArgumentException |
| 52 | 52 | * @throws \org\bovigo\vfs\vfsStreamException |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | |
| 154 | 154 | /** |
| 155 | 155 | * @param string $path |
| 156 | - * @param array $method |
|
| 156 | + * @param string $method |
|
| 157 | 157 | * @param array $params |
| 158 | 158 | * @param array|null $content |
| 159 | 159 | * |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | use org\bovigo\vfs\vfsStream; |
| 16 | 16 | use org\bovigo\vfs\vfsStreamDirectory; |
| 17 | 17 | use org\bovigo\vfs\vfsStreamWrapper; |
| 18 | -use Symfony\Component\HttpFoundation\Request; |
|
| 19 | 18 | use Symfony\Component\HttpFoundation\Response; |
| 20 | 19 | use Symfony\Component\Yaml\Yaml; |
| 21 | 20 | |