Completed
Push — master ( 8d804e...0560b7 )
by Amine
15s queued 12s
created
src/Commands/ModelCommand.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -45,6 +45,9 @@  discard block
 block discarded – undo
45 45
         $this->save($content, "./App/Models/{$name}.php", "{$name} model");
46 46
     }
47 47
 
48
+    /**
49
+     * @param string $arg
50
+     */
48 51
     protected function getAsArrayFields($arg, $isOption = true)
49 52
     {
50 53
     	$arg = ($isOption) ? $this->option($arg) : $this->argument($arg);
@@ -79,6 +82,9 @@  discard block
 block discarded – undo
79 82
         return implode(PHP_EOL, $relations);
80 83
     }
81 84
 
85
+    /**
86
+     * @param string $option
87
+     */
82 88
     protected function getImages($option)
83 89
     {
84 90
         $images = [];
@@ -106,6 +112,10 @@  discard block
 block discarded – undo
106 112
         return implode(PHP_EOL, $media);
107 113
     }
108 114
 
115
+    /**
116
+     * @param string $type
117
+     * @param string $option
118
+     */
109 119
     protected function getRelationsByType($type, $option, $withTimestamps = false)
110 120
     {
111 121
         $relations = [];
Please login to merge, or discard this patch.