@@ -131,7 +131,7 @@ |
||
131 | 131 | /** |
132 | 132 | * @param string $method |
133 | 133 | * @param string $url |
134 | - * @param array $parameters |
|
134 | + * @param string $parameters |
|
135 | 135 | * @return string |
136 | 136 | */ |
137 | 137 | protected function getCacheId($method, $url, $parameters) |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Cache\CacheProvider; |
6 | 6 | use GuzzleHttp\Client; |
7 | -use Silex\Application; |
|
8 | 7 | use Symfony\Component\Serializer\Serializer; |
9 | 8 | |
10 | 9 | /** |
@@ -83,7 +83,7 @@ |
||
83 | 83 | $responseObjects = isset($responseDecoded['results']) ? $responseDecoded['results'] : $responseDecoded; |
84 | 84 | $responseObjects = array_map( |
85 | 85 | |
86 | - function ($item) use ($targetEntity) |
|
86 | + function($item) use ($targetEntity) |
|
87 | 87 | { |
88 | 88 | $item = $this->_convertNaming($item); |
89 | 89 | return $this->serializer->deserialize(json_encode($item), $targetEntity, 'json'); |
@@ -131,7 +131,7 @@ |
||
131 | 131 | ]); |
132 | 132 | |
133 | 133 | /** @var PaginatedResults $results */ |
134 | - $results = $comrade->decodeMultiple(SimpleTestEntity::class); |
|
134 | + $results = $comrade->decodeMultiple(SimpleTestEntity::class); |
|
135 | 135 | |
136 | 136 | $this->assertInstanceOf( |
137 | 137 | PaginatedResults::class, |