From 74b4b51ee8d3d44db1b43afc4017c56bfd0b8772 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Thu, 17 Dec 2020 23:42:33 +0100 Subject: [PATCH] cs --- src/Schema/Elements/AnyOf.php | 2 +- src/Schema/Elements/Structure.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Schema/Elements/AnyOf.php b/src/Schema/Elements/AnyOf.php index b4ce465..1d464f3 100644 --- a/src/Schema/Elements/AnyOf.php +++ b/src/Schema/Elements/AnyOf.php @@ -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) { diff --git a/src/Schema/Elements/Structure.php b/src/Schema/Elements/Structure.php index f8dd287..a7f42c9 100644 --- a/src/Schema/Elements/Structure.php +++ b/src/Schema/Elements/Structure.php @@ -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