From b9e88527ddd1936e1b32043cb72996ccb482cf8f Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Tue, 20 Feb 2018 14:23:02 -0600 Subject: [PATCH] Unit conversion fixes #193 --- app/Models/Pirep.php | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/app/Models/Pirep.php b/app/Models/Pirep.php index 627bdab3..8c078a4b 100644 --- a/app/Models/Pirep.php +++ b/app/Models/Pirep.php @@ -208,30 +208,6 @@ class Pirep extends BaseModel } } - /** - * @return Time - */ - /*public function getPlannedFlightTimeAttribute() - { - if (!array_key_exists('planned_flight_time', $this->attributes)) { - return null; - } - - return new Time($this->attributes['planned_flight_time']); - }*/ - - /** - * @param $value - */ - /*public function setPlannedFlightTimeAttribute($value) - { - if ($value instanceof Time) { - $this->attributes['planned_flight_time'] = $value->getMinutes(); - } else { - $this->attributes['planned_flight_time'] = $value; - } - }*/ - /** * Do some cleanup on the route * @param $route