Skip to content

Commit e6fa1e5

Browse files
committed
CS
1 parent deb250c commit e6fa1e5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ $result = $validator->validate(json_decode($json), json_decode($schema));
1010

1111
if ($result->valid) {
1212
echo "The supplied JSON validates against the schema.\n";
13-
}
14-
else {
13+
} else {
1514
echo "JSON does not validate. Violations:\n";
1615
foreach ($result->errors as $error) {
1716
echo "[{$error['property']}] {$error['message']}\n";

0 commit comments

Comments
 (0)