Passed
Push — master ( d8e97b...c545b8 )
by Tobias
03:54
created
src/WrkLst/DocxMustache/DocxMustache.php 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -47,6 +47,7 @@  discard block
 block discarded – undo
47 47
 
48 48
     /**
49 49
      * @param string $file
50
+     * @return string
50 51
      */
51 52
     public function StoragePath($file)
52 53
     {
@@ -102,6 +103,9 @@  discard block
 block discarded – undo
102 103
             ->extractTo($this->StoragePath($this->local_path), [$file]);
103 104
     }
104 105
 
106
+    /**
107
+     * @param string $file
108
+     */
105 109
     protected function ReadOpenXmlFile($file, $type = 'file')
106 110
     {
107 111
         $this->exctractOpenXmlFile($file);
@@ -134,6 +138,10 @@  discard block
 block discarded – undo
134 138
         }
135 139
     }
136 140
 
141
+    /**
142
+     * @param string $file
143
+     * @param false|string $folder
144
+     */
137 145
     protected function SaveOpenXmlObjectToFile($xmlObject, $file, $folder)
138 146
     {
139 147
         if ($xmlString = $xmlObject->asXML()) {
@@ -143,6 +151,9 @@  discard block
 block discarded – undo
143 151
         }
144 152
     }
145 153
 
154
+    /**
155
+     * @param integer $dpi
156
+     */
146 157
     public function ReadTeamplate($dpi)
147 158
     {
148 159
         $this->Log('Analyze Template');
@@ -191,6 +202,9 @@  discard block
 block discarded – undo
191 202
         }
192 203
     }
193 204
 
205
+    /**
206
+     * @param \SimpleXMLElement $main_file
207
+     */
194 208
     protected function FetchReplaceableImages(&$main_file, $ns)
195 209
     {
196 210
         //set up basic arrays to keep track of imgs
Please login to merge, or discard this patch.