From 51004b143c131a9446a8617288f4ccdc533baf84 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Thu, 3 Sep 2020 15:14:26 -0400 Subject: [PATCH] Fix validator type for aircraft #805 --- app/Models/Aircraft.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Models/Aircraft.php b/app/Models/Aircraft.php index 2994c6ee..c4621b79 100644 --- a/app/Models/Aircraft.php +++ b/app/Models/Aircraft.php @@ -66,8 +66,8 @@ class Aircraft extends Model 'name' => 'required', 'status' => 'required', 'registration' => 'required', - 'mtow' => 'nullable|number', - 'zfw' => 'nullable|number', + 'mtow' => 'nullable|numeric', + 'zfw' => 'nullable|numeric', ]; /**