Test Setup Failed
Branch master (a55231)
by Richard
04:51
created
database/seeds/LeaderboardTableSeeder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     {
15 15
         factory(Leaderboard::class, 5)
16 16
             ->create()
17
-            ->each(function (Leaderboard $leaderboard) {
17
+            ->each(function(Leaderboard $leaderboard) {
18 18
                 $leaderboard->game_id = rand(1, 3);
19 19
             });
20 20
     }
Please login to merge, or discard this patch.
src/Models/LeaderboardTimescope.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     
72 72
     public function getHighscoreRank($highscore)
73 73
     {
74
-        return $this->hasMany(LeaderboardScore::class)->filter(function ($score) {
74
+        return $this->hasMany(LeaderboardScore::class)->filter(function($score) {
75 75
             return $score['highscore'] > $highscore;
76 76
         });
77 77
     }
Please login to merge, or discard this patch.