We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7eb6eb commit 94a1d21Copy full SHA for 94a1d21
tests/PHPStan/Rules/DeadCode/data/bug-9409.php
@@ -7,7 +7,7 @@ class HelloWorld
7
/** @var array<string,string|null> $tempDir */
8
private static array $tempDir = [];
9
10
- public function getTempDir(string $name): string|null
+ public function getTempDir(string $name): ?string
11
{
12
if (isset($this::$tempDir[$name])) {
13
return $this::$tempDir[$name];
0 commit comments