From 7bb9954012a18096684d1636f5630a5e6fed4adf Mon Sep 17 00:00:00 2001 From: Mario Blazek <mario.b@netgen.hr> Date: Fri, 10 Mar 2017 12:18:38 +0100 Subject: [PATCH] Housekeeping --- bundle/Action/ActionInterface.php | 9 +++------ bundle/Factory/FieldDataFactory.php | 5 +++++ bundle/Mailer/MailerInterface.php | 6 ++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bundle/Action/ActionInterface.php b/bundle/Action/ActionInterface.php index 42029697..129a4ccb 100644 --- a/bundle/Action/ActionInterface.php +++ b/bundle/Action/ActionInterface.php @@ -2,17 +2,14 @@ namespace Netgen\Bundle\InformationCollectionBundle\Action; -use Netgen\Bundle\InformationCollectionBundle\Event\InformationCollected; -use Netgen\Bundle\InformationCollectionBundle\Exception\ActionFailedException; - interface ActionInterface { /** * Act on InformationCollected event * - * @param InformationCollected $event + * @param \Netgen\Bundle\InformationCollectionBundle\Event\InformationCollected $event * - * @throws ActionFailedException + * @throws \Netgen\Bundle\InformationCollectionBundle\Exception\ActionFailedException */ - public function act(InformationCollected $event); + public function act(\Netgen\Bundle\InformationCollectionBundle\Event\InformationCollected $event); } diff --git a/bundle/Factory/FieldDataFactory.php b/bundle/Factory/FieldDataFactory.php index a9270a41..f79baaaa 100644 --- a/bundle/Factory/FieldDataFactory.php +++ b/bundle/Factory/FieldDataFactory.php @@ -15,6 +15,11 @@ class FieldDataFactory */ protected $registry; + /** + * FieldDataFactory constructor. + * + * @param FieldHandlerRegistry $registry + */ public function __construct(FieldHandlerRegistry $registry) { $this->registry = $registry; diff --git a/bundle/Mailer/MailerInterface.php b/bundle/Mailer/MailerInterface.php index b7c01b17..89872cc4 100644 --- a/bundle/Mailer/MailerInterface.php +++ b/bundle/Mailer/MailerInterface.php @@ -2,16 +2,14 @@ namespace Netgen\Bundle\InformationCollectionBundle\Mailer; -use Netgen\Bundle\InformationCollectionBundle\Value\EmailData; - interface MailerInterface { /** * Creates and sends email message * - * @param EmailData $data + * @param \Netgen\Bundle\InformationCollectionBundle\Value\EmailData $data * * @throws \Netgen\Bundle\InformationCollectionBundle\Exception\EmailNotSentException */ - public function createAndSendMessage(EmailData $data); + public function createAndSendMessage(\Netgen\Bundle\InformationCollectionBundle\Value\EmailData $data); }