From 1bb1480f676dc0ce12294fd0983640d75ba6486b Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 8 Nov 2017 18:03:27 -0800 Subject: [PATCH] Added a comment around protected dates so we know wtf --- app/Models/Asset.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Models/Asset.php b/app/Models/Asset.php index 75c8343267..fa92f8fc96 100644 --- a/app/Models/Asset.php +++ b/app/Models/Asset.php @@ -42,6 +42,7 @@ class Asset extends Depreciable */ protected $injectUniqueIdentifier = true; + // We set these as protected dates so that they will be easily accessible via Carbon protected $dates = [ 'created_at', 'updated_at', @@ -138,7 +139,7 @@ class Asset extends Depreciable * @param User $user * @param User $admin * @param Carbon $checkout_at - * @param null $expected_checkin + * @param Carbon $expected_checkin * @param string $note * @param null $name * @return bool