Passed
Push — master ( d27f07...38bce9 )
by Robson
08:32
created
example/save_example.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,12 +27,12 @@
 block discarded – undo
27 27
  */
28 28
 print "update user";
29 29
 
30
-$name = ["Robson", "Kaue", "Gustavo", "João"];
30
+$name = [ "Robson", "Kaue", "Gustavo", "João" ];
31 31
 
32 32
 $user = (new User())->findById($user->id);
33 33
 
34 34
 if ($user) {
35
-    $user->first_name = $name[rand(0, 3)];
35
+    $user->first_name = $name[ rand(0, 3) ];
36 36
     $user->save();
37 37
     var_dump($user);
38 38
 } else {
Please login to merge, or discard this patch.
example/Models/Address.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,6 +15,6 @@
 block discarded – undo
15 15
      */
16 16
     public function __construct()
17 17
     {
18
-        parent::__construct("adresses", ["user_id"]);
18
+        parent::__construct("adresses", [ "user_id" ]);
19 19
     }
20 20
 }
21 21
\ No newline at end of file
Please login to merge, or discard this patch.