@@ -162,7 +162,7 @@ |
||
162 | 162 | |
163 | 163 | //CADASTRAR PROPRIETÁRIO EM UM IMÓVEL |
164 | 164 | $post = $vista |
165 | - ->fields(["Imovel" => 3152, "proprietario" => ["Nome"=>"Arnaldo Fagundes","FonePrincipal"=>"21 99008899","VeiculoCaptacao"=>"Site"]]) |
|
165 | + ->fields(["Imovel" => 3152, "proprietario" => ["Nome"=>"Arnaldo Fagundes", "FonePrincipal"=>"21 99008899", "VeiculoCaptacao"=>"Site"]]) |
|
166 | 166 | ->post("/imoveis/detalhes")->callback(); |
167 | 167 | var_dump($post); |
168 | 168 | //OU |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | */ |
77 | 77 | public function filter(array $filterBy): VistaSoft |
78 | 78 | { |
79 | - if(empty($this->build)){ |
|
79 | + if (empty($this->build)) { |
|
80 | 80 | $this->build = [ |
81 | 81 | "filter" => $filterBy |
82 | 82 | ]; |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | */ |
156 | 156 | public function get($endpoint): VistaSoft |
157 | 157 | { |
158 | - if ($endpoint[0] != "/"){ |
|
158 | + if ($endpoint[0] != "/") { |
|
159 | 159 | $endpoint = substr_replace($endpoint, "/", 0, 0); |
160 | 160 | } |
161 | 161 | |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | */ |
178 | 178 | public function post($endpoint): VistaSoft |
179 | 179 | { |
180 | - if ($endpoint[0] != "/"){ |
|
180 | + if ($endpoint[0] != "/") { |
|
181 | 181 | $endpoint = substr_replace($endpoint, "/", 0, 0); |
182 | 182 | } |
183 | 183 | |
@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | */ |
206 | 206 | public function put($endpoint): VistaSoft |
207 | 207 | { |
208 | - if ($endpoint[0] != "/"){ |
|
208 | + if ($endpoint[0] != "/") { |
|
209 | 209 | $endpoint = substr_replace($endpoint, "/", 0, 0); |
210 | 210 | } |
211 | 211 |