Passed
Branch master (4b10a1)
by Edy Wladson
01:57
created
Category
example/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/VistaSoft.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.