Completed
Pull Request — master (#66)
by
unknown
02:30 queued 46s
created
src/Commands/ResourceCommand.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -168,6 +168,9 @@  discard block
 block discarded – undo
168 168
 
169 169
     }
170 170
 
171
+    /**
172
+     * @param string $tag
173
+     */
171 174
     protected function fieldsHavingTag($tag)
172 175
     {
173 176
         return array_map(function($field){
@@ -199,6 +202,9 @@  discard block
 block discarded – undo
199 202
         }, $this->fields);
200 203
     }
201 204
 
205
+    /**
206
+     * @return string
207
+     */
202 208
     protected function getBaseModel($path) {
203 209
         $index = strrpos($path, "\\");
204 210
         if($index) {
Please login to merge, or discard this patch.
src/Commands/BaseCommand.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@  discard block
 block discarded – undo
21 21
         $this->argumentFormatLoader = new ArgumentFormatLoader($fs);
22 22
     }
23 23
 
24
+    /**
25
+     * @param string $name
26
+     */
24 27
     protected function getTemplate($name)
25 28
     {
26 29
         return $this->templates->load($name);
@@ -31,6 +34,9 @@  discard block
 block discarded – undo
31 34
         return new ArgumentParser($format);
32 35
     }
33 36
 
37
+    /**
38
+     * @param string $content
39
+     */
34 40
     protected function save($content, $path, $name, $force = false)
35 41
     {
36 42
         if (!$force && $this->fs->exists($path) && $this->input->hasOption('force') && !$this->option('force')) {
@@ -49,6 +55,9 @@  discard block
 block discarded – undo
49 55
         }
50 56
     }
51 57
 
58
+    /**
59
+     * @param integer $n
60
+     */
52 61
     protected function spaces($n): string
53 62
     {
54 63
         return str_repeat(' ', $n);
Please login to merge, or discard this patch.