Completed
Push — master ( 06c0f8...7da7c2 )
by Dmitry
03:39
created
tests/Incident/Siren/NotificationType/EmailNotificationTypeTest.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     }
107 107
 
108 108
     /**
109
-     * @return PHPUnit_Framework_MockObject_MockObject|Swift_Mailer
109
+     * @return Swift_Mailer
110 110
      */
111 111
     protected function getMailer()
112 112
     {
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
     }
153 153
 
154 154
     /**
155
-     * @param $subject
155
+     * @param \TonicHealthCheck\Incident\Siren\Subject\Subject $subject
156 156
      * @param $incident
157 157
      * @return \Swift_Mime_MimePart
158 158
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
      */
144 144
     protected function isMessageSame(Swift_Message $message)
145 145
     {
146
-        return function (Swift_Message $messageI) use ($message) {
146
+        return function(Swift_Message $messageI) use ($message) {
147 147
             return $messageI->getFrom() == $message->getFrom()
148 148
             && $messageI->getTo() == $message->getTo()
149 149
             && $messageI->getSubject() == $message->getSubject()
Please login to merge, or discard this patch.
tests/Incident/Siren/NotificationType/RequestNotificationTypeTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
     }
148 148
 
149 149
     /**
150
-     * @return PHPUnit_Framework_MockObject_MockObject|HttpMethodsClient
150
+     * @return HttpMethodsClient
151 151
      */
152 152
     protected function getHttpClient()
153 153
     {
Please login to merge, or discard this patch.
tests/Incident/Siren/NotificationType/FileNotificationTypeTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     }
80 80
 
81 81
     /**
82
-     * @return mixed
82
+     * @return string
83 83
      */
84 84
     protected function getPathMessage()
85 85
     {
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     }
88 88
 
89 89
     /**
90
-     * @param mixed $pathMessage
90
+     * @param string $pathMessage
91 91
      */
92 92
     protected function setPathMessage($pathMessage)
93 93
     {
Please login to merge, or discard this patch.
src/Incident/IncidentEventSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\EventSubscriber;
6 6
 use Doctrine\ORM\Event\OnFlushEventArgs;
7
-use Doctrine\ORM\Events;;
7
+use Doctrine\ORM\Events; ;
8 8
 use Doctrine\ORM\UnitOfWork;
9 9
 use TonicHealthCheck\Incident\Siren\IncidentSiren;
10 10
 use TonicHealthCheck\Incident\Siren\IncidentSirenCollection;
Please login to merge, or discard this patch.