Skip to content

Commit

Permalink
Fix labels and hints
Browse files Browse the repository at this point in the history
  • Loading branch information
xepozz committed Aug 31, 2023
1 parent bc02b03 commit 2615a93
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/Generator/ActiveRecord/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function getModelName(): string
public static function getAttributeLabels(): array
{
return [
'namespace' => 'Controller Namespace',
'namespace' => 'Model namespace',
'baseClass' => 'Base class',
'tableName' => 'Table name',
'template' => 'Template',
Expand All @@ -76,11 +76,9 @@ public static function getAttributeLabels(): array
public static function getHints(): array
{
return [
'controllerClass' => 'This is the name of the controller class to be generated. You should
provide a fully qualified namespaced class (e.g. <code>App\Controller\PostController</code>),
and class name should be in CamelCase ending with the word <code>Controller</code>. Make sure the class
is using the same namespace as specified by your application\'s namespace property.',
'baseClass' => 'This is the class that the new controller class will extend from. Please make sure the class exists and can be autoloaded.',
'namespace' => 'Namespace for the model class to store it in the related directory.',
'baseClass' => 'Parent class for the new model class.',
'tableName' => 'Corresponded table name for the model class.',
];
}

Expand Down

0 comments on commit 2615a93

Please sign in to comment.