From 146fe05bdc778dc5e67c14379fcdb4ad1c101633 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Sat, 8 Sep 2018 11:40:03 -0500 Subject: [PATCH] Remove return nulls --- app/Models/Pirep.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/Models/Pirep.php b/app/Models/Pirep.php index 84613496..c0090300 100644 --- a/app/Models/Pirep.php +++ b/app/Models/Pirep.php @@ -169,8 +169,6 @@ class Pirep extends Model if (array_key_exists('block_off_time', $this->attributes)) { return new Carbon($this->attributes['block_off_time']); } - - return null; } /** @@ -183,8 +181,6 @@ class Pirep extends Model if (array_key_exists('block_on_time', $this->attributes)) { return new Carbon($this->attributes['block_on_time']); } - - return null; } /** @@ -197,8 +193,6 @@ class Pirep extends Model if (array_key_exists('submitted_at', $this->attributes)) { return new Carbon($this->attributes['submitted_at']); } - - return null; } /**