Passed
Push — master ( 4c46c3...4a4252 )
by Ron
01:30
created
src/Eloquent/BaseModel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 class BaseModel extends Model
8 8
 {
9
-    protected $dateFormat ='Y-m-d H:i:s';
9
+    protected $dateFormat = 'Y-m-d H:i:s';
10 10
 
11 11
     protected $casts = [
12 12
         'created_at' => 'datetime:Y-m-d H:i:s',
Please login to merge, or discard this patch.
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.