mirror of
https://github.com/wearepixel/laravel-cart.git
synced 2026-11-14 22:01:48 +00:00
@@ -4,6 +4,4 @@
|
|||||||
|
|
||||||
use Illuminate\Support\Collection;
|
use Illuminate\Support\Collection;
|
||||||
|
|
||||||
class CartCollection extends Collection
|
class CartCollection extends Collection {}
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -4,6 +4,4 @@
|
|||||||
|
|
||||||
use Illuminate\Support\Collection;
|
use Illuminate\Support\Collection;
|
||||||
|
|
||||||
class CartConditionCollection extends Collection
|
class CartConditionCollection extends Collection {}
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -2,6 +2,4 @@
|
|||||||
|
|
||||||
namespace Wearepixel\Cart\Exceptions;
|
namespace Wearepixel\Cart\Exceptions;
|
||||||
|
|
||||||
class InvalidConditionException extends \Exception
|
class InvalidConditionException extends \Exception {}
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -2,6 +2,4 @@
|
|||||||
|
|
||||||
namespace Wearepixel\Cart\Exceptions;
|
namespace Wearepixel\Cart\Exceptions;
|
||||||
|
|
||||||
class InvalidItemException extends \Exception
|
class InvalidItemException extends \Exception {}
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -2,6 +2,4 @@
|
|||||||
|
|
||||||
namespace Wearepixel\Cart\Exceptions;
|
namespace Wearepixel\Cart\Exceptions;
|
||||||
|
|
||||||
class UnknownModelException extends \Exception
|
class UnknownModelException extends \Exception {}
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -2,6 +2,4 @@
|
|||||||
|
|
||||||
namespace Wearepixel\Cart\Validators;
|
namespace Wearepixel\Cart\Validators;
|
||||||
|
|
||||||
class CartConditionValidator extends Validator
|
class CartConditionValidator extends Validator {}
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -2,6 +2,4 @@
|
|||||||
|
|
||||||
namespace Wearepixel\Cart\Validators;
|
namespace Wearepixel\Cart\Validators;
|
||||||
|
|
||||||
class CartItemValidator extends Validator
|
class CartItemValidator extends Validator {}
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -3,8 +3,7 @@
|
|||||||
use Wearepixel\Cart\Cart;
|
use Wearepixel\Cart\Cart;
|
||||||
use Wearepixel\Cart\Tests\Helpers\SessionMock;
|
use Wearepixel\Cart\Tests\Helpers\SessionMock;
|
||||||
|
|
||||||
beforeEach(function () {
|
beforeEach(function () {});
|
||||||
});
|
|
||||||
|
|
||||||
afterEach(function () {
|
afterEach(function () {
|
||||||
Mockery::close();
|
Mockery::close();
|
||||||
|
|||||||
Reference in New Issue
Block a user