Fixed event interface

This commit is contained in:
2025-12-21 21:42:21 +04:00
parent df7e485650
commit 3bd350efa5
4 changed files with 10 additions and 3 deletions
+7
View File
@@ -0,0 +1,7 @@
<?php
declare(strict_types=1);
namespace Diffhead\PHP\LaravelRabbitMQ\Interface;
interface Event {}
-1
View File
@@ -5,7 +5,6 @@ declare(strict_types=1);
namespace Diffhead\PHP\LaravelRabbitMQ\Interface;
use Diffhead\PHP\LaravelRabbitMQ\Object\Queue;
use App\Shared\Event\Event;
interface EventMapper
{
+2 -1
View File
@@ -5,9 +5,10 @@ declare(strict_types=1);
namespace Diffhead\PHP\LaravelRabbitMQ\Service;
use Diffhead\PHP\LaravelRabbitMQ\Exception\AssociatedEventNotFound;
use Diffhead\PHP\LaravelRabbitMQ\Interface\Event;
use Diffhead\PHP\LaravelRabbitMQ\Interface\EventMapper as EventMapperInterface;
use Diffhead\PHP\LaravelRabbitMQ\Object\Queue;
use App\Shared\Event\Event;
use Illuminate\Contracts\Foundation\Application;
class EventMapper implements EventMapperInterface