@@ -59,8 +59,7 @@ |
||
59 | 59 | * @class BaseMakeActionCommand |
60 | 60 | * @package Platine\Framework\Console |
61 | 61 | */ |
62 | -abstract class BaseMakeActionCommand extends MakeCommand |
|
63 | -{ |
|
62 | +abstract class BaseMakeActionCommand extends MakeCommand { |
|
64 | 63 | /** |
65 | 64 | * The form parameter class name |
66 | 65 | * @var class-string |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | ) { |
84 | 84 | parent::__construct($application, $filesystem); |
85 | 85 | $this->setName('make:resource') |
86 | - ->setDescription('Command to generate platine resource action'); |
|
86 | + ->setDescription('Command to generate platine resource action'); |
|
87 | 87 | } |
88 | 88 | |
89 | 89 | /** |
@@ -104,9 +104,9 @@ discard block |
||
104 | 104 | $this->addProperty($this->repositoryClass); |
105 | 105 | } |
106 | 106 | |
107 | - /** |
|
108 | - * {@inheritdoc} |
|
109 | - */ |
|
107 | + /** |
|
108 | + * {@inheritdoc} |
|
109 | + */ |
|
110 | 110 | public function getClassTemplate(): string |
111 | 111 | { |
112 | 112 | return <<<EOF |
@@ -65,8 +65,7 @@ |
||
65 | 65 | * @class MakeResourceActionCommand |
66 | 66 | * @package Platine\Framework\Console\Command |
67 | 67 | */ |
68 | -class MakeResourceActionCommand extends BaseMakeActionCommand |
|
69 | -{ |
|
68 | +class MakeResourceActionCommand extends BaseMakeActionCommand { |
|
70 | 69 | /** |
71 | 70 | * {@inheritdoc} |
72 | 71 | */ |
@@ -74,12 +74,12 @@ |
||
74 | 74 | ) { |
75 | 75 | parent::__construct($application, $filesystem); |
76 | 76 | $this->setName('make:crud') |
77 | - ->setDescription('Command to generate platine CRUD action'); |
|
77 | + ->setDescription('Command to generate platine CRUD action'); |
|
78 | 78 | } |
79 | 79 | |
80 | - /** |
|
81 | - * {@inheritdoc} |
|
82 | - */ |
|
80 | + /** |
|
81 | + * {@inheritdoc} |
|
82 | + */ |
|
83 | 83 | public function getClassTemplate(): string |
84 | 84 | { |
85 | 85 | return <<<EOF |
@@ -56,8 +56,7 @@ |
||
56 | 56 | * @class MakeCrudActionCommand |
57 | 57 | * @package Platine\Framework\Console\Command |
58 | 58 | */ |
59 | -class MakeCrudActionCommand extends BaseMakeActionCommand |
|
60 | -{ |
|
59 | +class MakeCrudActionCommand extends BaseMakeActionCommand { |
|
61 | 60 | /** |
62 | 61 | * {@inheritdoc} |
63 | 62 | */ |