mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-18 13:35:06 +00:00
Remove type from parameter
This commit is contained in:
@@ -938,7 +938,7 @@ class CartTest extends TestCase
|
||||
*
|
||||
* @return \Gloudemans\Shoppingcart\Cart
|
||||
*/
|
||||
private function getCartDiscount( float $discount = 0 )
|
||||
private function getCartDiscount( $discount = 0 )
|
||||
{
|
||||
$cart = $this->getCart();
|
||||
$cart->setGlobalDiscount( 50 );
|
||||
|
||||
Reference in New Issue
Block a user