Passed
Push — master ( a6d932...f9ac31 )
by André De
01:32
created
src/ViaCepApi.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -124,12 +124,12 @@
 block discarded – undo
124 124
      * @return \AndreDeBrito\PHPViaCep\ViaCepApi|null
125 125
      */
126 126
     public function jsonToObject(): ?ViaCepApi {
127
-       if($this->responseType == "json"){
128
-           $this->responseType = "object";
129
-           $this->response = (object) json_decode($this->response);
130
-       }
127
+        if($this->responseType == "json"){
128
+            $this->responseType = "object";
129
+            $this->response = (object) json_decode($this->response);
130
+        }
131 131
        
132
-       return $this;       
132
+        return $this;       
133 133
     }
134 134
 
135 135
     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
      * @return \AndreDeBrito\PHPViaCep\ViaCepApi|null
125 125
      */
126 126
     public function jsonToObject(): ?ViaCepApi {
127
-       if($this->responseType == "json"){
127
+       if ($this->responseType == "json") {
128 128
            $this->responseType = "object";
129 129
            $this->response = (object) json_decode($this->response);
130 130
        }
Please login to merge, or discard this patch.