diff --git a/src/ArchPresets/Base.php b/src/ArchPresets/Base.php index 2ee5d5a9..3a340d70 100644 --- a/src/ArchPresets/Base.php +++ b/src/ArchPresets/Base.php @@ -20,7 +20,7 @@ final class Base implements ArchPreset */ public function boot(TestCall $testCall, array $baseNamespace): TestCall|ArchExpectation { - return $testCall + return $testCall // @phpstan-ignore-line ->expect(['dd', 'dump', 'ray', 'die', 'var_dump', 'sleep']) ->not ->toBeUsed(); diff --git a/src/ArchPresets/Strict.php b/src/ArchPresets/Strict.php index c4fbe196..9d93b7ed 100644 --- a/src/ArchPresets/Strict.php +++ b/src/ArchPresets/Strict.php @@ -20,7 +20,7 @@ final class Strict implements ArchPreset */ public function boot(TestCall $testCall, array $baseNamespaces): TestCall|ArchExpectation { - return $testCall + return $testCall // @phpstan-ignore-line ->expect($baseNamespaces) ->each ->toUseStrictTypes(); diff --git a/src/Preset.php b/src/Preset.php index de01bf88..6df57197 100644 --- a/src/Preset.php +++ b/src/Preset.php @@ -15,6 +15,8 @@ final class Preset { /** * The application / package base namespaces. + * + * @var ?array */ private static ?array $baseNamespaces = null; @@ -46,6 +48,8 @@ final class Preset /** * Get the base namespaces for the application / package. + * + * @return array */ private function baseNamespaces(): array {