Completed
Push — master ( 78c175...379bc2 )
by Arman
03:11 queued 10s
created
src/Routes/Route.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
             'module' => $this->module
90 90
         ];
91 91
 
92
-        if(is_callable($params[0])) {
92
+        if (is_callable($params[0])) {
93 93
             $this->currentRoute['callback'] = $params[0];
94 94
         } else {
95 95
             $this->currentRoute['controller'] = $params[0];
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      */
113 113
     public function get($route, ...$params)
114 114
     {
115
-        return $this->add($route,'GET', ...$params);
115
+        return $this->add($route, 'GET', ...$params);
116 116
     }
117 117
 
118 118
     /**
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
      */
124 124
     public function post($route, ...$params)
125 125
     {
126
-        return $this->add($route,'POST', ...$params);
126
+        return $this->add($route, 'POST', ...$params);
127 127
     }
128 128
 
129 129
     /**
Please login to merge, or discard this patch.
src/Libraries/Auth/WebAuth.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
             throw new AuthException(ExceptionMessages::INCORRECT_VERIFICATION_CODE);
146 146
         }
147 147
  
148
-        if (new \DateTime() >= new \DateTime($user[$this->keys[self::OTP_EXPIRY_KEY]])){
148
+        if (new \DateTime() >= new \DateTime($user[$this->keys[self::OTP_EXPIRY_KEY]])) {
149 149
             throw new AuthException(ExceptionMessages::VERIFICATION_CODE_EXPIRED);
150 150
         }
151 151
 
Please login to merge, or discard this patch.
src/Libraries/Auth/ApiAuth.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
             throw new AuthException(ExceptionMessages::INCORRECT_VERIFICATION_CODE);
146 146
         }
147 147
  
148
-        if (new \DateTime() >= new \DateTime($user[$this->keys[self::OTP_EXPIRY_KEY]])){
148
+        if (new \DateTime() >= new \DateTime($user[$this->keys[self::OTP_EXPIRY_KEY]])) {
149 149
             throw new AuthException(ExceptionMessages::VERIFICATION_CODE_EXPIRED);
150 150
         }
151 151
 
Please login to merge, or discard this patch.