Completed
Push — hotfix/1.0.5 ( 52954e...39921f )
by Artem
03:00
created
src/TokenGuard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -171,8 +171,7 @@
 block discarded – undo
171 171
         try
172 172
         {
173 173
             $data = (array) \Firebase\JWT\JWT::decode($token, env('JWT_SECRET'), ['HS256']);
174
-        }
175
-        catch(\RuntimeException $e) {
174
+        } catch(\RuntimeException $e) {
176 175
             $this->logout();
177 176
 
178 177
             return null;
Please login to merge, or discard this patch.
src/Commands/SyncUsers.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,8 +76,7 @@
 block discarded – undo
76 76
 
77 77
         if(!count($difference)) {
78 78
             $this->info('There are no remote changes!');
79
-        }
80
-        else {
79
+        } else {
81 80
             $this->info('Remote changes detected, applying...');
82 81
         }
83 82
 
Please login to merge, or discard this patch.
src/AuthService.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -296,8 +296,7 @@
 block discarded – undo
296 296
 
297 297
         try {
298 298
             $output = $callback();
299
-        }
300
-        catch(\Exception $e) {
299
+        } catch(\Exception $e) {
301 300
             DB::rollBack();
302 301
 
303 302
             if(is_null($fallback)) {
Please login to merge, or discard this patch.