Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Dec 17, 2020
1 parent db05f01 commit 74b4b51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Schema/Elements/AnyOf.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function merge($value, $base)
}


public function complete($value, Nette\Schema\Context $context)
public function complete($value, Context $context)
{
$hints = $innerErrors = [];
foreach ($this->set as $item) {
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Elements/Structure.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function merge($value, $base)
}


public function complete($value, Nette\Schema\Context $context)
public function complete($value, Context $context)
{
if ($value === null) {
$value = []; // is unable to distinguish null from array in NEON
Expand Down

0 comments on commit 74b4b51

Please sign in to comment.