Skip to content

Commit

Permalink
Update Money.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Pharaonic committed Mar 22, 2021
1 parent 051b158 commit e7d2199
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Models/Money.php
Expand Up @@ -26,6 +26,13 @@ class Money extends Model
'amount'
];

/**
* Casting Fields
*
* @var array
*/
protected $casts = ['amount' => 'float'];

////////////////////////////////////////////////////////////
//
// ACTIONS
Expand Down

0 comments on commit e7d2199

Please sign in to comment.