@@ -17,6 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * @param Request $request |
| 19 | 19 | * @param Response $response |
| 20 | + * @return void |
|
| 20 | 21 | */ |
| 21 | 22 | public function transformLate(Request $request, Response $response); |
| 22 | 23 | |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | trait SerializerTrait |
| 6 | 6 | { |
| 7 | 7 | /** |
| 8 | - * @param $format |
|
| 8 | + * @param string $format |
|
| 9 | 9 | * @return bool |
| 10 | 10 | */ |
| 11 | 11 | public function supportsFormat($format) |
@@ -9,6 +9,9 @@ discard block |
||
| 9 | 9 | |
| 10 | 10 | class IOEventSubscriberTest extends \PHPUnit_Framework_TestCase |
| 11 | 11 | { |
| 12 | + /** |
|
| 13 | + * @param m\MockInterface[] $mocks |
|
| 14 | + */ |
|
| 12 | 15 | protected function getSubject($mocks = null) |
| 13 | 16 | { |
| 14 | 17 | list($matcher, $requestTransformer, $responseTransformer) = $mocks ?: $this->getMocks(); |
@@ -282,6 +285,9 @@ discard block |
||
| 282 | 285 | } |
| 283 | 286 | } |
| 284 | 287 | |
| 288 | + /** |
|
| 289 | + * @param string $method |
|
| 290 | + */ |
|
| 285 | 291 | protected function methodIsBound($method, $testEvent) |
| 286 | 292 | { |
| 287 | 293 | foreach (IOEventSubscriber::getSubscribedEvents() as $event => $listeners) { |
@@ -292,6 +292,9 @@ |
||
| 292 | 292 | }); |
| 293 | 293 | } |
| 294 | 294 | |
| 295 | + /** |
|
| 296 | + * @param \Closure $callback |
|
| 297 | + */ |
|
| 295 | 298 | protected function assertNoException($callback) |
| 296 | 299 | { |
| 297 | 300 | try { |