Passed
Push — master ( b04009...b8980d )
by Tobias
02:33
created
src/WrkLst/DocxMustache/DocImage.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -40,6 +40,10 @@
 block discarded – undo
40 40
         return false;
41 41
     }
42 42
 
43
+    /**
44
+     * @param DocxMustache $parent
45
+     * @param string $data
46
+     */
43 47
     protected function ResampleImage($parent, $imgs, $k, $data)
44 48
     {
45 49
         \Storage::disk($parent->storageDisk)->put($parent->local_path.'word/media/'.$imgs[$k]['img_file_src'], $data);
Please login to merge, or discard this patch.
src/WrkLst/DocxMustache/DocxMustache.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -101,6 +101,9 @@  discard block
 block discarded – undo
101 101
             ->extractTo($this->storagePath($this->local_path), array($file), \Chumper\Zipper\Zipper::WHITELIST);
102 102
     }
103 103
 
104
+    /**
105
+     * @param string $file
106
+     */
104 107
     protected function ReadOpenXmlFile($file, $type="file")
105 108
     {
106 109
         $this->exctractOpenXmlFile($file);
@@ -126,6 +129,10 @@  discard block
 block discarded – undo
126 129
         }
127 130
     }
128 131
 
132
+    /**
133
+     * @param string $file
134
+     * @param string|false $folder
135
+     */
129 136
     protected function saveOpenXmlFile($file, $folder, $content)
130 137
     {
131 138
         \Storage::disk($this->storageDisk)
@@ -193,6 +200,9 @@  discard block
 block discarded – undo
193 200
         }
194 201
     }
195 202
 
203
+    /**
204
+     * @param \SimpleXMLElement $main_file
205
+     */
196 206
     protected function FetchReplaceableImages(&$main_file, $ns)
197 207
     {
198 208
         //set up basic arrays to keep track of imgs
Please login to merge, or discard this patch.
src/WrkLst/DocxMustache/HtmlConversion.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -7,6 +7,9 @@
 block discarded – undo
7 7
 
8 8
 class HtmlConversion
9 9
 {
10
+    /**
11
+     * @param MustacheRender $value
12
+     */
10 13
     public function __construct($value)
11 14
     {
12 15
         return $this->convertHtmlToOpenXML($value);
Please login to merge, or discard this patch.