Passed
Push — master ( 511df1...0188a0 )
by Wagner
02:21 queued 12s
created
src/Me.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -24,16 +24,16 @@  discard block
 block discarded – undo
24 24
     /**
25 25
      * @return Me
26 26
      */
27
-     public function register(array $fields): Me
28
-     {
29
-         $this->request(
30
-             "POST",
31
-             "/auth/register",
32
-             $fields
33
-         );
27
+        public function register(array $fields): Me
28
+        {
29
+            $this->request(
30
+                "POST",
31
+                "/auth/register",
32
+                $fields
33
+            );
34 34
  
35
-         return $this;
36
-     }
35
+            return $this;
36
+        }
37 37
 
38 38
     /**
39 39
      * @return Me
@@ -53,18 +53,18 @@  discard block
 block discarded – undo
53 53
     /**
54 54
      * @return Me
55 55
      */
56
-     public function auth(string $email, string $password): Me
57
-     {
58
-         $this->request(
59
-             "POST",
60
-             "/auth/token",
61
-             array("email" => $email, "password" => $password)
62
-         );
56
+        public function auth(string $email, string $password): Me
57
+        {
58
+            $this->request(
59
+                "POST",
60
+                "/auth/token",
61
+                array("email" => $email, "password" => $password)
62
+            );
63 63
          
64 64
         $this->token();
65 65
 
66 66
         return $this;
67
-     }
67
+        }
68 68
 
69 69
     /**
70 70
      * @return Me
Please login to merge, or discard this patch.
example/user.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -32,11 +32,11 @@  discard block
 block discarded – undo
32 32
 /**
33 33
  * login
34 34
  */
35
- echo "<h1>Login</h1>";
35
+    echo "<h1>Login</h1>";
36 36
 
37
- $user = $me->auth("[email protected]","123456789");
38
- var_dump($user->response());
39
- var_dump($user->error());
37
+    $user = $me->auth("[email protected]","123456789");
38
+    var_dump($user->response());
39
+    var_dump($user->error());
40 40
 
41 41
 /**
42 42
  * me
@@ -49,8 +49,8 @@  discard block
 block discarded – undo
49 49
 /**
50 50
  * logout
51 51
  */
52
- echo "<h1>Logout</h1>";
52
+    echo "<h1>Logout</h1>";
53 53
 
54
- $user = $me->logout();
55
- var_dump($user->response());
54
+    $user = $me->logout();
55
+    var_dump($user->response());
56 56
 
Please login to merge, or discard this patch.
src/StateTaxes.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -74,16 +74,16 @@
 block discarded – undo
74 74
      * @param array $fields
75 75
      * @return StateTaxes
76 76
      */
77
-     public function update(string $statetax_id, array $fields): StateTaxes
78
-     {
79
-         $this->request(
80
-             "PUT",
81
-             "/companies/{$this->company}/statetaxes/{$statetax_id}",
82
-             $fields
83
-         );
77
+        public function update(string $statetax_id, array $fields): StateTaxes
78
+        {
79
+            $this->request(
80
+                "PUT",
81
+                "/companies/{$this->company}/statetaxes/{$statetax_id}",
82
+                $fields
83
+            );
84 84
  
85
-         return $this;
86
-     }
85
+            return $this;
86
+        }
87 87
 
88 88
     /**
89 89
      * @param string $statetax_id
Please login to merge, or discard this patch.