@@ -8,9 +8,9 @@ discard block |
||
8 | 8 | { |
9 | 9 | protected $table = 'worlds'; |
10 | 10 | |
11 | - protected $fillable = [ 'galaxy_id', 'map_id', 'name', 'display_name', 'use_whitelist', 'use_blacklist' ]; |
|
11 | + protected $fillable = ['galaxy_id', 'map_id', 'name', 'display_name', 'use_whitelist', 'use_blacklist']; |
|
12 | 12 | |
13 | - protected $dates = [ 'created_at', 'updated_at' ]; |
|
13 | + protected $dates = ['created_at', 'updated_at']; |
|
14 | 14 | |
15 | 15 | public function galaxy() |
16 | 16 | { |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | |
40 | 40 | public function scopeOnlineCount($query) |
41 | 41 | { |
42 | - return $query->withCount(['online' => function ($query) { |
|
42 | + return $query->withCount(['online' => function($query) { |
|
43 | 43 | $query->online(); |
44 | 44 | }]); |
45 | 45 | } |