Completed
Push — master ( 769d17...6fd8a2 )
by Mahmoud
03:54
created
app/Containers/User/Actions/FindUserAction.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,11 +58,11 @@
 block discarded – undo
58 58
      */
59 59
     public function byEverything($userId, $visitorId, $token)
60 60
     {
61
-        if($userId){
61
+        if ($userId) {
62 62
             $user = $this->findUserService->byId($userId);
63
-        }else if($token){
63
+        } else if ($token) {
64 64
             $user = Auth::user();
65
-        }else if($visitorId){
65
+        } else if ($visitorId) {
66 66
             $user = $this->findUserService->byVisitorId($visitorId);
67 67
         }
68 68
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,9 +60,9 @@
 block discarded – undo
60 60
     {
61 61
         if($userId){
62 62
             $user = $this->findUserService->byId($userId);
63
-        }else if($token){
63
+        } else if($token){
64 64
             $user = Auth::user();
65
-        }else if($visitorId){
65
+        } else if($visitorId){
66 66
             $user = $this->findUserService->byVisitorId($visitorId);
67 67
         }
68 68
 
Please login to merge, or discard this patch.