Skip to content

Commit 110d32d

Browse files
The API info name is nullable when shadowing
1 parent 5b17901 commit 110d32d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/src/DataTransferObject/ApiInfo.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class ApiInfo
99
public function __construct(
1010
public readonly ?string $version,
1111
public readonly ?string $versionUrl,
12-
public readonly string $name,
12+
public readonly ?string $name,
1313
public readonly ?ApiInfoProvider $provider,
1414
#[Serializer\Exclude(if: '!object.domjudge')]
1515
public readonly ?DomJudgeApiInfo $domjudge,

0 commit comments

Comments
 (0)