Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jun 8, 2023
1 parent e7eb6eb commit 94a1d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/PHPStan/Rules/DeadCode/data/bug-9409.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class HelloWorld
/** @var array<string,string|null> $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];
Expand Down

0 comments on commit 94a1d21

Please sign in to comment.