@@ -8,9 +8,9 @@ discard block |
||
| 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 |
||
| 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 |