Passed
Branch master (16cc4b)
by Viktor
03:01
created
Category
src/MailController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,9 +41,9 @@
 block discarded – undo
41 41
     public function options($actionID)
42 42
     {
43 43
         $options = [
44
-            'flush' => ['timeLimit'],
44
+            'flush' => [ 'timeLimit' ],
45 45
         ];
46
-        return array_merge(parent::options($actionID), ArrayHelper::getValue($options, $actionID, []));
46
+        return array_merge(parent::options($actionID), ArrayHelper::getValue($options, $actionID, [ ]));
47 47
     }
48 48
 
49 49
     /**
Please login to merge, or discard this patch.
src/Mailer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      * @inheritdoc
60 60
      * @return Message|MessageInterface
61 61
      */
62
-    public function compose($view = null, array $params = [])
62
+    public function compose($view = null, array $params = [ ])
63 63
     {
64 64
         return parent::compose($view, $params);
65 65
     }
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
                 'constructArgs' => [
76 76
                     [
77 77
                         'class' => 'Swift_FileSpool',
78
-                        'constructArgs' => [$this->spoolPath],
78
+                        'constructArgs' => [ $this->spoolPath ],
79 79
                     ],
80 80
                 ],
81 81
             ];
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      */
137 137
     public function beforeQueue($message)
138 138
     {
139
-        $event = new MailEvent(['message' => $message]);
139
+        $event = new MailEvent([ 'message' => $message ]);
140 140
         $this->trigger(self::EVENT_BEFORE_QUEUE, $event);
141 141
 
142 142
         return $event->isValid;
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
      */
152 152
     public function afterQueue($message, $isSuccessful)
153 153
     {
154
-        $event = new MailEvent(['message' => $message, 'isSuccessful' => $isSuccessful]);
154
+        $event = new MailEvent([ 'message' => $message, 'isSuccessful' => $isSuccessful ]);
155 155
         $this->trigger(self::EVENT_AFTER_QUEUE, $event);
156 156
     }
157 157
 }
Please login to merge, or discard this patch.
src/ImportedMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      * @inheritdoc
20 20
      * @param \Swift_Message $message
21 21
      */
22
-    public function __construct(\Swift_Message $message, array $config = [])
22
+    public function __construct(\Swift_Message $message, array $config = [ ])
23 23
     {
24 24
         $this->_swiftMessage = $message;
25 25
         parent::__construct($config);
Please login to merge, or discard this patch.