From 5ab2c18bf3c19c81e8fe873d5385ed7c1e369cef Mon Sep 17 00:00:00 2001 From: Luke Policinski Date: Mon, 2 Nov 2015 15:34:31 -0500 Subject: [PATCH] Fixing issue not having a type hint of float --- src/Contracts/LaraCartContract.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Contracts/LaraCartContract.php b/src/Contracts/LaraCartContract.php index 44f3168..e88f3eb 100644 --- a/src/Contracts/LaraCartContract.php +++ b/src/Contracts/LaraCartContract.php @@ -18,7 +18,7 @@ interface LaraCartContract * * @return string */ - public function formatMoney($number, $locale = null, $internationalFormat = null); + public function formatMoney(float $number, $locale = null, $internationalFormat = null); /** * Generates a hash for an object @@ -34,4 +34,4 @@ public function generateHash($object); * @return string */ public function generateRandomHash(); -} \ No newline at end of file +}