Passed
Pull Request — master (#29)
by
unknown
02:07
created
src/WrkLst/DocxMustache/DocxMustache.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
         //get every File in docx-Archive
152 152
         $this->zipper
153 153
             ->getRepository()->each([$this, 'retrieveFilesList']);
154
-        foreach($this->relevant_files as $file) {
154
+        foreach ($this->relevant_files as $file) {
155 155
             $this->SubstituteOpenXmlFile($file, $dpi);
156 156
         }
157 157
 
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
 
161 161
     public function retrieveFilesList($file, $stats) {
162 162
         $this->exctractOpenXmlFile($file);
163
-        if(substr($file,-3) === 'xml' && substr($file,0,4) === 'word') {
163
+        if (substr($file, -3) === 'xml' && substr($file, 0, 4) === 'word') {
164 164
             $this->relevant_files[] = $file;
165 165
         }
166 166
     }
Please login to merge, or discard this patch.