Rewrite add/remove bids code w additional tests
This commit is contained in:
@@ -16,6 +16,10 @@ class Bid extends Model
|
||||
'flight_id',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'user_id' => 'integer',
|
||||
];
|
||||
|
||||
/**
|
||||
* Relationships
|
||||
*/
|
||||
|
||||
@@ -17,7 +17,8 @@ use PhpUnitsOfMeasure\Exception\NonStringUnitName;
|
||||
* @property integer airline_id
|
||||
* @property mixed flight_number
|
||||
* @property mixed route_code
|
||||
* @property int route_leg
|
||||
* @property int route_leg
|
||||
* @property bool has_bid
|
||||
* @property Collection field_values
|
||||
* @property Collection fares
|
||||
* @property Collection subfleets
|
||||
|
||||
@@ -10,18 +10,19 @@ use Illuminate\Notifications\Notifiable;
|
||||
use Laratrust\Traits\LaratrustUserTrait;
|
||||
|
||||
/**
|
||||
* @property integer $id
|
||||
* @property string $name
|
||||
* @property string $email
|
||||
* @property string $password
|
||||
* @property string $api_key
|
||||
* @property integer id
|
||||
* @property string name
|
||||
* @property string email
|
||||
* @property string password
|
||||
* @property string api_key
|
||||
* @property mixed ident
|
||||
* @property string curr_airport_id
|
||||
* @property string home_airport_id
|
||||
* @property Flight[] $flights
|
||||
* @property string $flight_time
|
||||
* @property string $remember_token
|
||||
* @property \Carbon\Carbon $created_at
|
||||
* @property \Carbon\Carbon $updated_at
|
||||
* @property Flight[] flights
|
||||
* @property string flight_time
|
||||
* @property string remember_token
|
||||
* @property \Carbon\Carbon created_at
|
||||
* @property \Carbon\Carbon updated_at
|
||||
* @property Rank rank
|
||||
* @property Journal journal
|
||||
* @property string pilot_id
|
||||
|
||||
Reference in New Issue
Block a user