@@ -48,7 +48,7 @@ |
||
48 | 48 | ); |
49 | 49 | |
50 | 50 | $extraScore = $this->points->get($extraResult); |
51 | - if($extraScore > 0 ) { |
|
51 | + if ($extraScore > 0) { |
|
52 | 52 | break; |
53 | 53 | } |
54 | 54 | } |
@@ -30,7 +30,7 @@ discard block |
||
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 |
||
50 | 50 | { |
51 | 51 | foreach ($this->collections as $collection) { |
52 | 52 | if (!$collection instanceof ScoreInterface) { |
53 | - throw new \RuntimeException('Collection: ' . get_class($collection) . 'is not instanceof ' . ScoreInterface::class); |
|
53 | + throw new \RuntimeException('Collection: '.get_class($collection).'is not instanceof '.ScoreInterface::class); |
|
54 | 54 | } |
55 | 55 | } |
56 | 56 | } |