@@ -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 | * |
@@ -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 | * |
@@ -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 | * |