Skip to content

Commit

Permalink
NativeFunctionReflection construct parameters made required
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Sep 14, 2024
1 parent bcbb503 commit 64ff598
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Reflection/Native/NativeFunctionReflection.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ public function __construct(
private ?Type $throwType,
private TrinaryLogic $hasSideEffects,
private bool $isDeprecated,
?Assertions $assertions = null,
private ?string $phpDocComment = null,
?TrinaryLogic $returnsByReference = null,
private bool $acceptsNamedArguments = true,
?Assertions $assertions,
private ?string $phpDocComment,
?TrinaryLogic $returnsByReference,
private bool $acceptsNamedArguments,
)
{
$this->assertions = $assertions ?? Assertions::createEmpty();
Expand Down

0 comments on commit 64ff598

Please sign in to comment.