Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Classes/EventListener/Order/Create/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* LICENSE file that was distributed with this source code.
*/

use Extcode\Cart\Event\Order\CreateEvent;
use Extcode\Cart\Event\Order\EventInterface;
use Extcode\Cart\Event\Order\PersistOrderEvent;
use Psr\EventDispatcher\EventDispatcherInterface;
use TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager;
Expand All @@ -23,7 +23,7 @@ public function __construct(
private readonly PersistenceManager $persistenceManager
) {}

public function __invoke(CreateEvent $event): void
public function __invoke(EventInterface $event): void
{
$settings = $event->getSettings();
$cart = $event->getCart();
Expand Down
4 changes: 2 additions & 2 deletions Classes/EventListener/Order/Finish/ClearCart.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

use Extcode\Cart\Domain\Model\Order\BillingAddress;
use Extcode\Cart\Domain\Model\Order\ShippingAddress;
use Extcode\Cart\Event\Order\FinishEvent;
use Extcode\Cart\Event\Order\EventInterface;
use Extcode\Cart\Service\PaymentMethodsServiceInterface;
use Extcode\Cart\Service\SessionHandler;
use Extcode\Cart\Utility\CartUtility;
Expand All @@ -27,7 +27,7 @@ public function __construct(
protected readonly SessionHandler $sessionHandler
) {}

public function __invoke(FinishEvent $event): void
public function __invoke(EventInterface $event): void
{
$cart = $event->getCart();
$settings = $event->getSettings();
Expand Down
4 changes: 2 additions & 2 deletions Classes/EventListener/Order/Finish/Email.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
*/
use Extcode\Cart\Domain\Model\Cart\Cart;
use Extcode\Cart\Domain\Model\Order\Item;
use Extcode\Cart\Event\Order\FinishEvent;
use Extcode\Cart\Event\Order\EventInterface;
use Extcode\Cart\Service\MailHandler;
use TYPO3\CMS\Core\Utility\GeneralUtility;

class Email
{
protected Cart $cart;

public function __invoke(FinishEvent $event): void
public function __invoke(EventInterface $event): void
{
$this->cart = $event->getCart();
$orderItem = $event->getOrderItem();
Expand Down
4 changes: 2 additions & 2 deletions Documentation/guides.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
interlink-shortcode="extcode/cart"
/>
<project title="Cart"
release="9.1.0"
version="9.1"
release="9.2.0"
version="9.2"
copyright="2018 - 2024"
/>
<inventory id="t3tsref" url="https://docs.typo3.org/typo3cms/TyposcriptReference/"/>
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
'title' => 'Cart',
'description' => 'Shopping Cart(s) for TYPO3',
'category' => 'plugin',
'version' => '9.1.1',
'version' => '9.2.0',
'state' => 'stable',
'author' => 'Daniel Gohlke',
'author_email' => 'ext@extco.de',
Expand Down
Loading