Passed
Push — master ( 4dc410...354c27 )
by Malte
03:19
created
src/Header.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -285,7 +285,9 @@  discard block
 block discarded – undo
285 285
         }
286 286
 
287 287
         foreach ($headers as $key => $values) {
288
-            if (isset($imap_headers[$key])) continue;
288
+            if (isset($imap_headers[$key])) {
289
+                continue;
290
+            }
289 291
             $value = null;
290 292
             switch ($key) {
291 293
                 case 'from':
@@ -506,7 +508,9 @@  discard block
 block discarded – undo
506 508
      * Try to extract the priority from a given raw header string
507 509
      */
508 510
     private function findPriority() {
509
-        if (($priority = $this->get("x_priority")) === null) return;
511
+        if (($priority = $this->get("x_priority")) === null) {
512
+            return;
513
+        }
510 514
         switch ((int)"$priority") {
511 515
             case IMAP::MESSAGE_PRIORITY_HIGHEST;
512 516
                 $priority = IMAP::MESSAGE_PRIORITY_HIGHEST;
Please login to merge, or discard this patch.