Passed
Push — master ( c95bf2...c45329 )
by André De
01:28
created
src/Exceptions/InvalidEstateException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,6 +10,6 @@
 block discarded – undo
10 10
  * @author André de Brito <https://github.com/andredebrito>
11 11
  * @package AndredeBrito\PHPViaCep\Exceptions
12 12
  */
13
-class InvalidEstateException extends RuntimeException{
13
+class InvalidEstateException extends RuntimeException {
14 14
     
15 15
 }
Please login to merge, or discard this patch.
src/ViaCepApi.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@
 block discarded – undo
190 190
                 return ($this->response && in_array("erro", json_decode($this->response)) || ($this->response == "[]") ? null : $this->response);
191 191
 
192 192
             case "xml":
193
-                return (!empty(simplexml_load_string($this->response)->erro) || (isset(simplexml_load_string($this->response)->enderecos) && (string)simplexml_load_string($this->response)->enderecos == "") ? null : $this->response);
193
+                return (!empty(simplexml_load_string($this->response)->erro) || (isset(simplexml_load_string($this->response)->enderecos) && (string) simplexml_load_string($this->response)->enderecos == "") ? null : $this->response);
194 194
 
195 195
             case "pided":
196 196
                 return ($this->response == "erro:true" ? null : $this->response);
Please login to merge, or discard this patch.