Passed
Pull Request — master (#2)
by Oguzhan
03:40
created
src/Service/VocaDB/Endpoint/Artist.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,8 +77,7 @@
 block discarded – undo
77 77
     public function transformCollection($raw)
78 78
     {
79 79
         $collection = new ArrayCollection();
80
-        foreach ($raw->collection as $artist)
81
-        {
80
+        foreach ($raw->collection as $artist) {
82 81
             $collection->add($this->transformSingle($artist));
83 82
         }
84 83
 
Please login to merge, or discard this patch.
src/MusicInfo.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -254,7 +254,8 @@
 block discarded – undo
254 254
     {
255 255
         $services = new ArrayCollection();
256 256
 
257
-        switch(gettype($servicesArg)) {
257
+        switch(gettype($servicesArg))
258
+        {
258 259
             case "NULL":
259 260
                 $services = $this->getServices();
260 261
                 break;
Please login to merge, or discard this patch.