From 64734af4192f994b2eaed3cff21eeef06adc8a86 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Wed, 3 Jan 2018 22:28:17 -0600 Subject: [PATCH] Fix broken test/Airport model in boot --- app/Models/Aircraft.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Aircraft.php b/app/Models/Aircraft.php index 932603cd..41f992ff 100644 --- a/app/Models/Aircraft.php +++ b/app/Models/Aircraft.php @@ -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)); }