Completed
Push — master ( df80f0...840f28 )
by Rafal
11s
created
src/GameRating/Business/UserPoint/UserRating.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      */
17 17
     public function sortUserByScore(array $usersScores): array
18 18
     {
19
-        usort($usersScores, function ($a, $b) {
19
+        usort($usersScores, function($a, $b) {
20 20
             return ($a->getScoreSumme() <=> $b->getScoreSumme()) * -1;
21 21
         });
22 22
 
Please login to merge, or discard this patch.
src/GameRating/Business/UserPoint/Info/UserScore.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
             Config::NO_WIN_TEAM => true,
95 95
         ];
96 96
         if (!isset($allowedPoints[$point])) {
97
-            throw new \RuntimeException('Point: ' . $point . ' is not allowed');
97
+            throw new \RuntimeException('Point: '.$point.' is not allowed');
98 98
         }
99 99
     }
100 100
 }
101 101
\ No newline at end of file
Please login to merge, or discard this patch.
src/GameBetting/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 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
     }
Please login to merge, or discard this patch.