@@ -865,7 +865,7 @@ |
||
865 | 865 | protected function addProperty(string $value, ?string $name = null): self |
866 | 866 | { |
867 | 867 | $shortClass = $this->getClassBaseName($value); |
868 | - if($name === null){ |
|
868 | + if ($name === null) { |
|
869 | 869 | $name = Str::camel($shortClass, true); |
870 | 870 | } |
871 | 871 |
@@ -65,8 +65,7 @@ discard block |
||
65 | 65 | * @class MakeResourceActionCommand |
66 | 66 | * @package Platine\Framework\Console\Command |
67 | 67 | */ |
68 | -class MakeResourceActionCommand extends MakeCommand |
|
69 | -{ |
|
68 | +class MakeResourceActionCommand extends MakeCommand { |
|
70 | 69 | /** |
71 | 70 | * {@inheritdoc} |
72 | 71 | */ |
@@ -865,7 +864,7 @@ discard block |
||
865 | 864 | protected function addProperty(string $value, ?string $name = null): self |
866 | 865 | { |
867 | 866 | $shortClass = $this->getClassBaseName($value); |
868 | - if($name === null){ |
|
867 | + if($name === null) { |
|
869 | 868 | $name = Str::camel($shortClass, true); |
870 | 869 | } |
871 | 870 |