Remove type from parameter

This commit is contained in:
Patrick Henninger
2018-12-21 18:48:26 +01:00
parent 892c76cc61
commit 9fbc9cd927

View File

@@ -938,7 +938,7 @@ class CartTest extends TestCase
* *
* @return \Gloudemans\Shoppingcart\Cart * @return \Gloudemans\Shoppingcart\Cart
*/ */
private function getCartDiscount( float $discount = 0 ) private function getCartDiscount( $discount = 0 )
{ {
$cart = $this->getCart(); $cart = $this->getCart();
$cart->setGlobalDiscount( 50 ); $cart->setGlobalDiscount( 50 );