Skip to content

Commit 5174319

Browse files
authored
removed unused variable in UndefinedConstraint (#698)
1 parent b363c58 commit 5174319

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/JsonSchema/Constraints/UndefinedConstraint.php

-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,6 @@ protected function validateOfProperties(&$value, $schema, JsonPointer $path, $i
329329
if (isset($schema->anyOf)) {
330330
$isValid = false;
331331
$startErrors = $this->getErrors();
332-
$caughtException = null;
333332
foreach ($schema->anyOf as $anyOf) {
334333
$initErrors = $this->getErrors();
335334
try {

0 commit comments

Comments
 (0)