Completed
Push — master ( 2a5b2c...383e37 )
by Ron
01:41
created
src/Eloquent/Common/Galaxy.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@
 block discarded – undo
8 8
 {
9 9
     protected $table = 'galaxies';
10 10
 
11
-    protected $fillable = [ 'galaxy_type_id', 'galaxy_owner_id', 'name', 'display_name'];
11
+    protected $fillable = ['galaxy_type_id', 'galaxy_owner_id', 'name', 'display_name'];
12 12
 
13
-    protected $dates = [ 'created_at', 'updated_at'];
13
+    protected $dates = ['created_at', 'updated_at'];
14 14
 
15 15
     public function type()
16 16
     {
Please login to merge, or discard this patch.
src/Eloquent/Common/GalaxyType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@
 block discarded – undo
8 8
 {
9 9
     protected $table = "galaxy_types";
10 10
 
11
-    protected $fillable = [ 'name', 'display_name' ];
11
+    protected $fillable = ['name', 'display_name'];
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
     {
Please login to merge, or discard this patch.
src/Eloquent/Common/BuildingClass.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     protected $table = 'building_classes';
10 10
 
11
-    protected $fillable = [ 'building_type_id', 'system_faction_id' ];
11
+    protected $fillable = ['building_type_id', 'system_faction_id'];
12 12
 
13
-    protected $dates = [ 'created_at', 'updated_at' ];
13
+    protected $dates = ['created_at', 'updated_at'];
14 14
 }
15 15
\ No newline at end of file
Please login to merge, or discard this patch.
src/Eloquent/Common/MapBuilding.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     protected $table = "map_buildings";
10 10
 
11
-    protected $fillable = [ 'map_id', 'location_x', 'location_y', 'building_class_id', 'building_id', 'deterioration_level' ];
11
+    protected $fillable = ['map_id', 'location_x', 'location_y', 'building_class_id', 'building_id', 'deterioration_level'];
12 12
 
13
-    protected $dates = [ 'created_at', 'updated_at' ];
13
+    protected $dates = ['created_at', 'updated_at'];
14 14
 }
15 15
\ No newline at end of file
Please login to merge, or discard this patch.
src/Eloquent/Common/Map.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@
 block discarded – undo
8 8
 {
9 9
     protected $table = 'maps';
10 10
 
11
-    protected $fillable = [ 'map_category_id', 'name', 'display_name', 'map_x', 'map_y', 'location', 'filename' ];
11
+    protected $fillable = ['map_category_id', 'name', 'display_name', 'map_x', 'map_y', 'location', 'filename'];
12 12
 
13
-    protected $dates = [ 'created_at', 'updated_at'];
13
+    protected $dates = ['created_at', 'updated_at'];
14 14
 
15 15
     public function category()
16 16
     {
Please login to merge, or discard this patch.
src/Eloquent/Common/TycoonCompany.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     protected $table = 'tycoon_companies';
10 10
 
11
-    protected $fillable = [ 'tycoon_id', 'system_faction_id', 'name' ];
11
+    protected $fillable = ['tycoon_id', 'system_faction_id', 'name'];
12 12
 
13
-    protected $dates = [ 'created_at', 'updated' ];
13
+    protected $dates = ['created_at', 'updated'];
14 14
 }
15 15
\ No newline at end of file
Please login to merge, or discard this patch.
src/Eloquent/Common/TycoonOnline.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     protected $table = 'tycoons_online';
10 10
 
11
-    protected $fillable = [ 'tycoon_id' ];
11
+    protected $fillable = ['tycoon_id'];
12 12
 
13
-    protected $dates = [ 'last_request' ];
13
+    protected $dates = ['last_request'];
14 14
 }
15 15
\ No newline at end of file
Please login to merge, or discard this patch.
src/Eloquent/Common/Tycoon.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@  discard block
 block discarded – undo
8 8
 {
9 9
     protected $table = 'tycoons';
10 10
 
11
-    protected $fillable = [ 'user_id', 'name', 'cash' ];
11
+    protected $fillable = ['user_id', 'name', 'cash'];
12 12
 
13
-    protected $dates = [ 'created_at', 'updated_at' ];
13
+    protected $dates = ['created_at', 'updated_at'];
14 14
 
15 15
     public function worlds()
16 16
     {
@@ -24,6 +24,6 @@  discard block
 block discarded – undo
24 24
 
25 25
     public function scopeInitial($query, $initial)
26 26
     {
27
-        return $query->where('name', 'LIKE', $initial . '%');
27
+        return $query->where('name', 'LIKE', $initial.'%');
28 28
     }
29 29
 }
30 30
\ No newline at end of file
Please login to merge, or discard this patch.
src/Eloquent/Common/World.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.