Skip to content

Commit

Permalink
fix method signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh authored and nicolas-grekas committed Jan 23, 2024
1 parent c7fbb60 commit 553d830
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Context/ExecutionContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public function __construct(ValidatorInterface $validator, mixed $root, Translat
$this->cachedObjectsRefs = new \SplObjectStorage();
}

public function setNode(mixed $value, ?object $object, ?MetadataInterface $metadata = null, string $propertyPath): void
public function setNode(mixed $value, ?object $object, ?MetadataInterface $metadata, string $propertyPath): void
{
$this->value = $value;
$this->object = $object;
Expand Down
2 changes: 1 addition & 1 deletion Context/ExecutionContextInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function getObject(): ?object;
*
* @return void
*/
public function setNode(mixed $value, ?object $object, ?MetadataInterface $metadata = null, string $propertyPath);
public function setNode(mixed $value, ?object $object, ?MetadataInterface $metadata, string $propertyPath);

/**
* Warning: Should not be called by user code, to be used by the validator engine only.
Expand Down

0 comments on commit 553d830

Please sign in to comment.