Passed
Push — master ( 5415d5...8e9570 )
by Malte
03:36
created
src/Attachment.php 1 patch
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
             }
129 129
 
130 130
             return null;
131
-        }elseif (strtolower(substr($method, 0, 3)) === 'set') {
131
+        } elseif (strtolower(substr($method, 0, 3)) === 'set') {
132 132
             $name = Str::snake(substr($method, 3));
133 133
 
134 134
             $this->attributes[$name] = array_pop($arguments);
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
 
214 214
         if (($id = $this->part->id) !== null) {
215 215
             $this->id = str_replace(['<', '>'], '', $id);
216
-        }else{
216
+        } else{
217 217
             $this->id = hash("sha256", (string)microtime(true));
218 218
         }
219 219
 
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
             $this->setName($filename);
225 225
         } elseif (($name = $this->part->name) !== null) {
226 226
             $this->setName($name);
227
-        }else {
227
+        } else {
228 228
             $this->setName("undefined");
229 229
         }
230 230
 
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
         if ($name !== null) {
260 260
             if($decoder === 'utf-8' && extension_loaded('imap')) {
261 261
                 $this->name = \imap_utf8($name);
262
-            }else{
262
+            } else{
263 263
                 $this->name = mb_decode_mimeheader($name);
264 264
             }
265 265
         }
Please login to merge, or discard this patch.