Fix broken test/Airport model in boot
This commit is contained in:
parent
676a310432
commit
64734af419
@ -40,7 +40,7 @@ class Aircraft extends BaseModel
|
||||
protected static function boot()
|
||||
{
|
||||
parent::boot();
|
||||
static::creating(function (Airport $model) {
|
||||
static::creating(function (Aircraft $model) {
|
||||
if (!empty($model->icao)) {
|
||||
$model->icao = strtoupper(trim($model->icao));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user