@@ -124,12 +124,12 @@ |
||
124 | 124 | * @return \AndreDeBrito\PHPViaCep\ViaCepApi|null |
125 | 125 | */ |
126 | 126 | public function jsonToObject(): ?ViaCepApi { |
127 | - if ($this->responseType == "json" && $this->response != "[]") { |
|
127 | + if ($this->responseType == "json" && $this->response != "[]") { |
|
128 | 128 | $this->responseType = "object"; |
129 | 129 | $this->response = (object) json_decode($this->response); |
130 | 130 | } |
131 | 131 | |
132 | - return $this; |
|
132 | + return $this; |
|
133 | 133 | } |
134 | 134 | |
135 | 135 | /** |