Completed
Pull Request — master (#9)
by Rafal
03:33
created
src/GameRating/Business/GamePoints/Points.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     {
31 31
         $this->checkCollection();
32 32
 
33
-        usort($this->collections, function ($a, $b) {
33
+        usort($this->collections, function($a, $b) {
34 34
             return $a->getScore() <=> $b->getScore();
35 35
         });
36 36
         $this->collections = array_reverse($this->collections);
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     {
51 51
         foreach ($this->collections as $collection) {
52 52
             if (!$collection instanceof CollectionInterface) {
53
-                throw new \RuntimeException('Collection: ' . get_class($collection) . 'is not instanceof ' . CollectionInterface::class);
53
+                throw new \RuntimeException('Collection: '.get_class($collection).'is not instanceof '.CollectionInterface::class);
54 54
             }
55 55
         }
56 56
     }
Please login to merge, or discard this patch.