Fix formatting and interfaces in nearly every file

This commit is contained in:
Nabeel Shahzad
2018-03-19 20:50:40 -05:00
parent 04c5b9e7bf
commit ccf56ddec1
331 changed files with 3282 additions and 2492 deletions

View File

@@ -1,16 +1,17 @@
<?php
namespace App\Models;
use App\Interfaces\Model;
/**
* Class Fare
* @property integer capacity
* @property float cost
* @property float price
* @property mixed code
* @property float cost
* @property float price
* @property mixed code
* @package App\Models
*/
class Fare extends BaseModel
class Fare extends Model
{
public $table = 'fares';
@@ -25,10 +26,10 @@ class Fare extends BaseModel
];
protected $casts = [
'price' => 'float',
'cost' => 'float',
'capacity' => 'integer',
'active' => 'boolean',
'price' => 'float',
'cost' => 'float',
'capacity' => 'integer',
'active' => 'boolean',
];
public static $rules = [