From 778a4482a036bf31c49b7490fb65dcf561356248 Mon Sep 17 00:00:00 2001 From: Antonio De Marco Date: Tue, 7 Nov 2017 10:59:20 +0100 Subject: [PATCH] Issue #62: Remove unnecessary calls to ParserAwareInterface. --- src/Messages/Notifications/AbstractNotification.php | 3 +-- src/Messages/Requests/AbstractRequest.php | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Messages/Notifications/AbstractNotification.php b/src/Messages/Notifications/AbstractNotification.php index ba79dcb..6438c89 100644 --- a/src/Messages/Notifications/AbstractNotification.php +++ b/src/Messages/Notifications/AbstractNotification.php @@ -4,7 +4,6 @@ use EC\Poetry\Events\ParseNotificationEvent; use EC\Poetry\Messages\AbstractMessage; -use EC\Poetry\Messages\ParserAwareInterface; use Symfony\Component\EventDispatcher\EventSubscriberInterface; /** @@ -12,7 +11,7 @@ * * @package EC\Poetry\Messages\Notifications */ -abstract class AbstractNotification extends AbstractMessage implements ParserAwareInterface, EventSubscriberInterface +abstract class AbstractNotification extends AbstractMessage implements EventSubscriberInterface { /** * {@inheritdoc} diff --git a/src/Messages/Requests/AbstractRequest.php b/src/Messages/Requests/AbstractRequest.php index c23eed2..5a8a7fe 100644 --- a/src/Messages/Requests/AbstractRequest.php +++ b/src/Messages/Requests/AbstractRequest.php @@ -4,7 +4,6 @@ use EC\Poetry\Messages\AbstractMessage; use EC\Poetry\Messages\Components\Identifier; -use EC\Poetry\Messages\ParserAwareInterface; use EC\Poetry\Services\Settings; /** @@ -12,7 +11,7 @@ * * @package EC\Poetry\Messages\Requests */ -abstract class AbstractRequest extends AbstractMessage implements ParserAwareInterface +abstract class AbstractRequest extends AbstractMessage { const REQUEST_NEW = 'new'; const REQUEST_POST = 'post';