Completed
Push — master ( 0d8635...4c7cc5 )
by wen
13:50
created
src/Console/ComponentMakeCommand.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -220,6 +220,9 @@  discard block
 block discarded – undo
220 220
         return $model;
221 221
     }
222 222
 
223
+    /**
224
+     * @param string $model
225
+     */
223 226
     protected function getViewColumns($model)
224 227
     {
225 228
         $columns = $this->getTableColumns($model);
@@ -250,11 +253,17 @@  discard block
 block discarded – undo
250 253
         return $column->getComment() ?? studly_case($column->getName());
251 254
     }
252 255
 
256
+    /**
257
+     * @param string $name
258
+     */
253 259
     protected function getViewColumnType($name)
254 260
     {
255 261
         return $this->columnTypeMappings[$name] ?? 'text';
256 262
     }
257 263
 
264
+    /**
265
+     * @param string $model
266
+     */
258 267
     protected function getFormElements($model)
259 268
     {
260 269
         $columns = $this->getTableColumns($model);
@@ -283,6 +292,9 @@  discard block
 block discarded – undo
283 292
         );
284 293
     }
285 294
 
295
+    /**
296
+     * @param string $name
297
+     */
286 298
     protected function getFormElementType($name)
287 299
     {
288 300
         return $this->elementTypeMappings[$name] ?? 'text';
Please login to merge, or discard this patch.