Completed
Push — master ( 2f5ecd...f26b52 )
by dan
01:56
created
Broadcast/Broadcaster.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 
6 6
 use IrishDan\NotificationBundle\Channel\ChannelInterface;
7
-use IrishDan\NotificationBundle\Notification\NotifiableInterface;
8 7
 use IrishDan\NotificationBundle\Notification\NotificationInterface;
9 8
 
10 9
 class Broadcaster
Please login to merge, or discard this patch.
DependencyInjection/NotificationExtension.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace IrishDan\NotificationBundle\DependencyInjection;
4 4
 
5
-use IrishDan\NotificationBundle\DependencyInjection\Factory\Broadcaster\SlackBroadcasterFactory;
6 5
 use Symfony\Component\DependencyInjection\Definition;
7 6
 use Symfony\Component\DependencyInjection\Reference;
8 7
 use Symfony\Component\HttpKernel\DependencyInjection\Extension;
Please login to merge, or discard this patch.
Channel/EventChannel.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,8 +72,7 @@
 block discarded – undo
72 72
         try {
73 73
             if (!empty($this->dispatchers[$dispatcherKey])) {
74 74
                 $this->dispatchers[$dispatcherKey]->dispatch($message);
75
-            }
76
-            else {
75
+            } else {
77 76
                 throw new MessageDispatchException(
78 77
                     sprintf('No dispatcher available with key "%s"', $dispatcherKey)
79 78
                 );
Please login to merge, or discard this patch.