Skip to content

Commit 64ff598

Browse files
committed
NativeFunctionReflection construct parameters made required
1 parent bcbb503 commit 64ff598

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Reflection/Native/NativeFunctionReflection.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ public function __construct(
2626
private ?Type $throwType,
2727
private TrinaryLogic $hasSideEffects,
2828
private bool $isDeprecated,
29-
?Assertions $assertions = null,
30-
private ?string $phpDocComment = null,
31-
?TrinaryLogic $returnsByReference = null,
32-
private bool $acceptsNamedArguments = true,
29+
?Assertions $assertions,
30+
private ?string $phpDocComment,
31+
?TrinaryLogic $returnsByReference,
32+
private bool $acceptsNamedArguments,
3333
)
3434
{
3535
$this->assertions = $assertions ?? Assertions::createEmpty();

0 commit comments

Comments
 (0)