Skip to content

Commit 82cbc95

Browse files
[TypeInfo] Fix missing explicit nullable type
1 parent 78c6ceb commit 82cbc95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/TypeInfo/Tests/Fixtures/ReflectionExtractableDummy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function setNothing($nothing): void
7373
$this->nothing = $nothing;
7474
}
7575

76-
public function setOptional(int $optional = null): void
76+
public function setOptional(?int $optional = null): void
7777
{
7878
}
7979
}

0 commit comments

Comments
 (0)