Completed
Push — master ( 7625dd...4f5694 )
by Ashley
02:04 queued 11s
created
src/Generators/BaseGenerator.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -81,6 +81,9 @@  discard block
 block discarded – undo
81 81
         return $this->engine->render($template, $data);
82 82
     }
83 83
 
84
+    /**
85
+     * @param string $data
86
+     */
84 87
     protected function write($data)
85 88
     {
86 89
         $destination = $this->composer->getClassPath($this->data['name']);
@@ -93,6 +96,9 @@  discard block
 block discarded – undo
93 96
         return $this->external->write($destination, $data);
94 97
     }
95 98
 
99
+    /**
100
+     * @param string $stub
101
+     */
96 102
     public function generate($stub, $data)
97 103
     {
98 104
         $template = $this->prepare($stub, array_merge($this->data, $data));
Please login to merge, or discard this patch.