Skip to content

Commit e70dcb1

Browse files
committed
minor #54422 [TypeInfo] Fix missing explicit nullable type (alexandre-daubois)
This PR was merged into the 7.1 branch. Discussion ---------- [TypeInfo] Fix missing explicit nullable type | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | - | License | MIT Commits ------- 82cbc95 [TypeInfo] Fix missing explicit nullable type
2 parents 78c6ceb + 82cbc95 commit e70dcb1

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)