Completed
Push — master ( 324766...2c871d )
by Nils
02:46
created
src/Rules/Json/JsonSchema/JsonSchemaRule.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,7 @@
 block discarded – undo
39 39
         $data = json_decode($response->getBody());
40 40
         if ($data === null) {
41 41
             throw new ValidationFailedException("The given JSON data can not be validated (last error: '" . $this->json_errors[json_last_error()] . "').");
42
-        }
43
-        else {
42
+        } else {
44 43
             $error = false;
45 44
             $messageParts = array();
46 45
 
Please login to merge, or discard this patch.