Completed
Push — master ( 07d943...45680e )
by Blackred
03:05
created
src/Service/ComradeReader.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
src/Service/ComradeDeserializer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
src/Test/Service/ComradeDeserializerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.