From: Raphaƫl Gertz Date: Mon, 4 Mar 2024 15:18:41 +0000 (+0100) Subject: Reorder constructor arguments X-Git-Tag: 0.4.0~26 X-Git-Url: https://git.rapsys.eu/packbundle/commitdiff_plain/b5bfae95e2e0a3561ac9277d17bcc6450e569033?ds=inline Reorder constructor arguments --- diff --git a/Command/RangeCommand.php b/Command/RangeCommand.php index e18fafa..f720493 100644 --- a/Command/RangeCommand.php +++ b/Command/RangeCommand.php @@ -40,7 +40,7 @@ class RangeCommand extends Command { /** * {@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);