diff --git a/src/Package.php b/src/Package.php index 98f89f0..940c144 100644 --- a/src/Package.php +++ b/src/Package.php @@ -50,7 +50,7 @@ public function name(string $name): static public function hasConfigFile($configFileName = null): static { - $configFileName = $configFileName ?? $this->shortName(); + $configFileName ??= $this->shortName(); if (! is_array($configFileName)) { $configFileName = [$configFileName];