wip: rename package to joelwmale

This commit is contained in:
Joel Male
2024-11-28 13:06:24 +10:00
parent b3ef4c38fc
commit 599051631c
26 changed files with 442 additions and 518 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
<?php
namespace Wearepixel\Cart;
namespace Joelwmale\Cart;
use Illuminate\Support\Collection;
use Wearepixel\Cart\Helpers\Helpers;
use Joelwmale\Cart\Helpers\Helpers;
class ItemCollection extends Collection
{
@@ -72,7 +72,7 @@ public function hasConditions()
if (is_array($this['conditions'])) {
return count($this['conditions']) > 0;
}
$conditionInstance = 'Wearepixel\\Cart\\CartCondition';
$conditionInstance = 'Joelwmale\\Cart\\CartCondition';
if ($this['conditions'] instanceof $conditionInstance) {
return true;
}