@@ -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 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 | } |