diff --git a/src/LaraCart.php b/src/LaraCart.php index 41580a6..4254941 100644 --- a/src/LaraCart.php +++ b/src/LaraCart.php @@ -63,7 +63,7 @@ public function get($instance = 'default') * * @return string */ - public function formatMoney($number, $locale = null, $internationalFormat = null) + public function formatMoney(float $number, $locale = null, $internationalFormat = null) { if (empty($locale) === true) { $locale = config('laracart.locale', 'en_US'); @@ -113,4 +113,4 @@ public function __call($method, $args) $method ], $args); } -} \ No newline at end of file +}