Added a comment around protected dates so we know wtf
This commit is contained in:
parent
ffae537400
commit
1bb1480f67
1 changed files with 2 additions and 1 deletions
|
@ -42,6 +42,7 @@ class Asset extends Depreciable
|
||||||
*/
|
*/
|
||||||
protected $injectUniqueIdentifier = true;
|
protected $injectUniqueIdentifier = true;
|
||||||
|
|
||||||
|
// We set these as protected dates so that they will be easily accessible via Carbon
|
||||||
protected $dates = [
|
protected $dates = [
|
||||||
'created_at',
|
'created_at',
|
||||||
'updated_at',
|
'updated_at',
|
||||||
|
@ -138,7 +139,7 @@ class Asset extends Depreciable
|
||||||
* @param User $user
|
* @param User $user
|
||||||
* @param User $admin
|
* @param User $admin
|
||||||
* @param Carbon $checkout_at
|
* @param Carbon $checkout_at
|
||||||
* @param null $expected_checkin
|
* @param Carbon $expected_checkin
|
||||||
* @param string $note
|
* @param string $note
|
||||||
* @param null $name
|
* @param null $name
|
||||||
* @return bool
|
* @return bool
|
||||||
|
|
Loading…
Add table
Reference in a new issue