Completed
Pull Request — master (#53)
by
unknown
01:35
created
src/Commands/ModelCommand.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@  discard block
 block discarded – undo
43 43
         $this->save($content, "./{$path}/{$name}.php", "{$name} model");
44 44
     }
45 45
 
46
+    /**
47
+     * @param string $rule
48
+     */
46 49
     protected function getFieldByRuleAsArrayFields($rule, $allowPartialMatch = false)
47 50
     {
48 51
         $rules = $this->getRules(false);
@@ -63,6 +66,9 @@  discard block
 block discarded – undo
63 66
         }, $fields));
64 67
     }
65 68
 
69
+    /**
70
+     * @param string $arg
71
+     */
66 72
     protected function getAsArrayFields($arg, $isOption = true)
67 73
     {
68 74
     	$arg = ($isOption) ? $this->option($arg) : $this->argument($arg);
@@ -97,6 +103,10 @@  discard block
 block discarded – undo
97 103
         return implode(PHP_EOL, $relations);
98 104
     }
99 105
 
106
+    /**
107
+     * @param string $type
108
+     * @param string $option
109
+     */
100 110
     protected function getRelationsByType($type, $option, $withTimestamps = false)
101 111
     {
102 112
         $relations = [];
Please login to merge, or discard this patch.