Skip to content

Commit

Permalink
removed unused variable in UndefinedConstraint (#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm authored Apr 2, 2023
1 parent b363c58 commit 5174319
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/JsonSchema/Constraints/UndefinedConstraint.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ protected function validateOfProperties(&$value, $schema, JsonPointer $path, $i
if (isset($schema->anyOf)) {
$isValid = false;
$startErrors = $this->getErrors();
$caughtException = null;
foreach ($schema->anyOf as $anyOf) {
$initErrors = $this->getErrors();
try {
Expand Down

0 comments on commit 5174319

Please sign in to comment.