pint fixes

This commit is contained in:
Joel Male
2024-09-08 12:20:36 +10:00
parent 6ea2cb3b8b
commit d4d4df7d58
12 changed files with 34 additions and 19 deletions
+3 -1
View File
@@ -4,4 +4,6 @@
use Illuminate\Support\Collection; use Illuminate\Support\Collection;
class CartCollection extends Collection {} class CartCollection extends Collection
{
}
+3 -1
View File
@@ -4,4 +4,6 @@
use Illuminate\Support\Collection; use Illuminate\Support\Collection;
class CartConditionCollection extends Collection {} class CartConditionCollection extends Collection
{
}
+3 -1
View File
@@ -2,4 +2,6 @@
namespace Wearepixel\Cart\Exceptions; namespace Wearepixel\Cart\Exceptions;
class InvalidConditionException extends \Exception {} class InvalidConditionException extends \Exception
{
}
+3 -1
View File
@@ -2,4 +2,6 @@
namespace Wearepixel\Cart\Exceptions; namespace Wearepixel\Cart\Exceptions;
class InvalidItemException extends \Exception {} class InvalidItemException extends \Exception
{
}
+3 -1
View File
@@ -2,4 +2,6 @@
namespace Wearepixel\Cart\Exceptions; namespace Wearepixel\Cart\Exceptions;
class UnknownModelException extends \Exception {} class UnknownModelException extends \Exception
{
}
+3 -1
View File
@@ -2,4 +2,6 @@
namespace Wearepixel\Cart\Validators; namespace Wearepixel\Cart\Validators;
class CartConditionValidator extends Validator {} class CartConditionValidator extends Validator
{
}
+3 -1
View File
@@ -2,4 +2,6 @@
namespace Wearepixel\Cart\Validators; namespace Wearepixel\Cart\Validators;
class CartItemValidator extends Validator {} class CartItemValidator extends Validator
{
}
+2 -1
View File
@@ -3,7 +3,8 @@
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();