Skip to content

Commit 103d193

Browse files
committed
Fix PHP 8.5 deprecation
1 parent 95234db commit 103d193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Analyser/TypeSpecifierContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ private function __construct(private ?int $value)
2828
private static function create(?int $value): self
2929
{
3030
self::$registry[$value] ??= new self($value);
31-
return self::$registry[$value];
31+
return self::$registry[$value ?? ''];
3232
}
3333

3434
public static function createTrue(): self

0 commit comments

Comments
 (0)