Skip to content

Commit

Permalink
(NFC) src/Validator.php - Update to current code standard
Browse files Browse the repository at this point in the history
  • Loading branch information
totten committed Jul 12, 2019
1 parent ff77672 commit 81291a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
namespace Civi\FlexMailer;

use Civi\FlexMailer\Event\CheckSendableEvent;
use \Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;

/**
* Class Validator
Expand Down Expand Up @@ -55,13 +55,13 @@ public static function createAndRun($mailing) {
}

/**
* @var EventDispatcherInterface
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
*/
private $dispatcher;

/**
* FlexMailer constructor.
* @param EventDispatcherInterface $dispatcher
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher
*/
public function __construct(EventDispatcherInterface $dispatcher = NULL) {
$this->dispatcher = $dispatcher ? $dispatcher : \Civi::service('dispatcher');
Expand Down

0 comments on commit 81291a9

Please sign in to comment.