diff --git a/tests/PHPStan/Rules/DeadCode/data/bug-9409.php b/tests/PHPStan/Rules/DeadCode/data/bug-9409.php index 7444bc7eed..43e3289e88 100644 --- a/tests/PHPStan/Rules/DeadCode/data/bug-9409.php +++ b/tests/PHPStan/Rules/DeadCode/data/bug-9409.php @@ -7,7 +7,7 @@ class HelloWorld /** @var array $tempDir */ private static array $tempDir = []; - public function getTempDir(string $name): string|null + public function getTempDir(string $name): ?string { if (isset($this::$tempDir[$name])) { return $this::$tempDir[$name];