@@ -62,11 +62,11 @@ |
||
62 | 62 | |
63 | 63 | $validator = Validation::createValidator(); |
64 | 64 | |
65 | - if(isset($options['apiEndpoint'])){ |
|
65 | + if (isset($options['apiEndpoint'])) { |
|
66 | 66 | $violations = $validator->validate($options['apiEndpoint'], [ |
67 | 67 | new Url(), |
68 | 68 | ]); |
69 | - if(count($violations) != 0){ |
|
69 | + if (count($violations) != 0) { |
|
70 | 70 | throw new Exception\InvalidAttributeValue( |
71 | 71 | 'Your API endpoint is not a valid URL', |
72 | 72 | $violations |