@@ -303,7 +303,7 @@ |
||
| 303 | 303 | { |
| 304 | 304 | /** |
| 305 | 305 | * @param array $attributes |
| 306 | - * @param array $content |
|
| 306 | + * @param string $content |
|
| 307 | 307 | */ |
| 308 | 308 | public function __construct(array $attributes, $content) |
| 309 | 309 | { |
@@ -1,4 +1,4 @@ discard block |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /* |
| 3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
| 4 | 4 | * |
@@ -171,7 +171,7 @@ discard block |
||
| 171 | 171 | ->expects($this->once()) |
| 172 | 172 | ->method('assemble') |
| 173 | 173 | ->willReturnCallback( |
| 174 | - function ( |
|
| 174 | + function( |
|
| 175 | 175 | Operation $operation, |
| 176 | 176 | array $query, |
| 177 | 177 | array $attributes, |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | ->expects($this->once()) |
| 215 | 215 | ->method('assemble') |
| 216 | 216 | ->willReturnCallback( |
| 217 | - function ( |
|
| 217 | + function( |
|
| 218 | 218 | Operation $operation, |
| 219 | 219 | array $query, |
| 220 | 220 | array $attributes, |
@@ -232,7 +232,7 @@ discard block |
||
| 232 | 232 | ->method('hydrate') |
| 233 | 233 | ->with($body, $this->isInstanceOf(Schema::class)) |
| 234 | 234 | ->willReturnCallback( |
| 235 | - function () use ($dto) { |
|
| 235 | + function() use ($dto) { |
|
| 236 | 236 | return $dto; |
| 237 | 237 | } |
| 238 | 238 | ); |
@@ -102,6 +102,7 @@ |
||
| 102 | 102 | |
| 103 | 103 | /** |
| 104 | 104 | * {@inheritdoc} |
| 105 | + * @param string $class |
|
| 105 | 106 | */ |
| 106 | 107 | public function supportsClass($class) |
| 107 | 108 | { |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /* |
| 3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
| 4 | 4 | * |
@@ -171,7 +171,6 @@ discard block |
||
| 171 | 171 | /** |
| 172 | 172 | * @param array $attributes |
| 173 | 173 | * |
| 174 | - * @param string $content |
|
| 175 | 174 | * |
| 176 | 175 | * @return Request |
| 177 | 176 | */ |
@@ -181,7 +180,6 @@ discard block |
||
| 181 | 180 | { |
| 182 | 181 | /** |
| 183 | 182 | * @param array $attributes |
| 184 | - * @param array $content |
|
| 185 | 183 | */ |
| 186 | 184 | public function __construct(array $attributes) |
| 187 | 185 | { |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /* |
| 3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
| 4 | 4 | * |
@@ -266,7 +266,7 @@ discard block |
||
| 266 | 266 | * The origin response is the response instance that is returned |
| 267 | 267 | * by the code that handles requests. |
| 268 | 268 | * |
| 269 | - * @return object|null A response instance |
|
| 269 | + * @return Response|null A response instance |
|
| 270 | 270 | * |
| 271 | 271 | * @see doRequest() |
| 272 | 272 | * |
@@ -295,7 +295,7 @@ discard block |
||
| 295 | 295 | * The origin request is the request instance that is sent |
| 296 | 296 | * to the code that handles requests. |
| 297 | 297 | * |
| 298 | - * @return object|null A Request instance |
|
| 298 | + * @return Request|null A Request instance |
|
| 299 | 299 | * |
| 300 | 300 | * @see doRequest() |
| 301 | 301 | * |
@@ -376,7 +376,7 @@ discard block |
||
| 376 | 376 | * |
| 377 | 377 | * @param BrowserKitRequest $request The BrowserKit Request to filter |
| 378 | 378 | * |
| 379 | - * @return object An origin request instance |
|
| 379 | + * @return Request An origin request instance |
|
| 380 | 380 | */ |
| 381 | 381 | protected function filterRequest(BrowserKitRequest $request) |
| 382 | 382 | { |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /* |
| 3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
| 4 | 4 | * |
@@ -69,7 +69,7 @@ |
||
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | /** |
| 72 | - * @param array $statusCodes |
|
| 72 | + * @param integer[] $statusCodes |
|
| 73 | 73 | * @param mixed $data |
| 74 | 74 | * |
| 75 | 75 | * @param bool $useValidator |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /* |
| 3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
| 4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /* |
| 3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
| 4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /* |
| 3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
| 4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /* |
| 3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
| 4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /* |
| 3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
| 4 | 4 | * |