Passed
Push — develop ( 91df1a...187c27 )
by nguereza
03:15
created
src/Console/Command/MakeResourceActionCommand.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -865,7 +865,7 @@
 block discarded – undo
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
         
Please login to merge, or discard this patch.
Braces   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,8 +65,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         
Please login to merge, or discard this patch.