]> Raphaël G. Git Repositories - packbundle/commitdiff
Reorder constructor arguments
authorRaphaël Gertz <git@rapsys.eu>
Mon, 4 Mar 2024 15:18:41 +0000 (16:18 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Mon, 4 Mar 2024 15:18:41 +0000 (16:18 +0100)
Command/RangeCommand.php

index e18fafac38aa392750fb0960626d3473c9b0b226..f72049321816a8c637fb6b7de641b6f332aedac0 100644 (file)
@@ -40,7 +40,7 @@ class RangeCommand extends Command {
        /**
         * {@inheritdoc}
         */
        /**
         * {@inheritdoc}
         */
-       public function __construct(protected ?string $name = null, protected string $file = '.env.local') {
+       public function __construct(protected string $file = '.env.local', protected ?string $name = null) {
                //Call parent constructor
                parent::__construct($this->name);
 
                //Call parent constructor
                parent::__construct($this->name);