@@ -25,6 +25,9 @@ |
||
| 25 | 25 | $response = $collection->getResponse($request); |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | + /** |
|
| 29 | + * @param string $id |
|
| 30 | + */ |
|
| 28 | 31 | public function getStaticIdGenerator($id) |
| 29 | 32 | { |
| 30 | 33 | $generator = $this->prophesize(IdGeneratorInterface::class); |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | $guzzle = $this->prophesize(ClientInterface::class); |
| 97 | 97 | $self = $this; |
| 98 | 98 | $guzzle->sendAsync(Argument::type(RequestInterface::class))->will( |
| 99 | - function ($args) use ($method, $self, $params, $batch) { |
|
| 99 | + function($args) use ($method, $self, $params, $batch) { |
|
| 100 | 100 | /** @var RequestInterface $request */ |
| 101 | 101 | $request = $args[0]; |
| 102 | 102 | $content = $request->getBody()->getContents(); |
@@ -117,9 +117,9 @@ discard block |
||
| 117 | 117 | $self::assertEquals($params, $data->params); |
| 118 | 118 | |
| 119 | 119 | return new Promise( |
| 120 | - function () { |
|
| 120 | + function() { |
|
| 121 | 121 | }, |
| 122 | - function () { |
|
| 122 | + function() { |
|
| 123 | 123 | } |
| 124 | 124 | ); |
| 125 | 125 | } |