Test Failed
Push — master ( 9bd3ec...26cfa8 )
by Mostafa
10:02 queued 05:48
created
src/Concerns/Storage/Attachment/StyleAttachment.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      * @param Model|string $class
19 19
      * @param bool $standalone
20 20
      */
21
-    protected function handleStyles(string $id, Model|string $model, bool $standalone = false): void
21
+    protected function handleStyles(string $id, Model | string $model, bool $standalone = false): void
22 22
     {
23 23
         switch ($this->type) {
24 24
             case LaruploadFileType::IMAGE:
Please login to merge, or discard this patch.
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -42,14 +42,12 @@  discard block
 block discarded – undo
42 42
                         $this->initializeFFMpegQueue(
43 43
                             $model->id, $model->getMorphClass(), $standalone
44 44
                         );
45
-                    }
46
-                    else {
45
+                    } else {
47 46
                         $this->initializeFFMpegQueue(
48 47
                             $id, $model, $standalone
49 48
                         );
50 49
                     }
51
-                }
52
-                else {
50
+                } else {
53 51
                     $this->handleVideoStyles($id);
54 52
                 }
55 53
 
@@ -115,8 +113,7 @@  discard block
 block discarded – undo
115 113
                 }
116 114
 
117 115
                 return null;
118
-            }
119
-            else if ($name and $this->styleHasFile($style)) {
116
+            } else if ($name and $this->styleHasFile($style)) {
120 117
                 $name = FixExceptionNamesAction::make($name, $style)->run();
121 118
                 $path = $this->getBasePath($this->id, $style);
122 119
 
Please login to merge, or discard this patch.