Passed
Push — master ( 3beee5...a29bda )
by Tobias
04:45
created
src/WrkLst/DocxMustache/DocxMustache.php 1 patch
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -171,10 +171,11 @@
 block discarded – undo
171 171
     {
172 172
         $content = \Storage::disk($this->storageDisk)
173 173
             ->get($this->local_path.$file);
174
-        if(!$reverse)
175
-            $content = str_replace('&','%%KAUFUND%%',$content);
176
-        else
177
-            $content = str_replace('%%KAUFUND%%','&',$content);
174
+        if(!$reverse) {
175
+                    $content = str_replace('&','%%KAUFUND%%',$content);
176
+        } else {
177
+                    $content = str_replace('%%KAUFUND%%','&',$content);
178
+        }
178 179
         \Storage::disk($this->storageDisk)
179 180
             ->put($this->local_path.$file, $content);
180 181
     }
Please login to merge, or discard this patch.