@@ -58,11 +58,11 @@ |
||
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 |
@@ -60,9 +60,9 @@ |
||
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 |