Completed
Push — master ( ab86c3...b85299 )
by Andrii
01:45
created
src/Builder.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -38,6 +38,9 @@  discard block
 block discarded – undo
38 38
     const BASE_DIR_SAMPLE = '<base-dir>';
39 39
     const FILES_FILENAME  = '__files';
40 40
 
41
+    /**
42
+     * @param string $outputDir
43
+     */
41 44
     public function __construct($outputDir, array $files = [])
42 45
     {
43 46
         $this->files = $files;
@@ -99,6 +102,9 @@  discard block
 block discarded – undo
99 102
         static::writeFile($this->getOutputPath($name), $data);
100 103
     }
101 104
 
105
+    /**
106
+     * @param string $name
107
+     */
102 108
     public function getOutputPath($name)
103 109
     {
104 110
         return $this->outputDir . DIRECTORY_SEPARATOR . $name . '.php';
@@ -154,6 +160,9 @@  discard block
 block discarded – undo
154 160
         $this->io = $io;
155 161
     }
156 162
 
163
+    /**
164
+     * @param string $text
165
+     */
157 166
     protected function writeError($text)
158 167
     {
159 168
         if (isset($this->io)) {
Please login to merge, or discard this patch.