@@ -38,9 +38,8 @@ |
||
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | 40 | * @param $agentId |
| 41 | - * @param null $platform |
|
| 42 | - * @param null $device |
|
| 43 | - * @param bool|false $login |
|
| 41 | + * @param string $platform |
|
| 42 | + * @param string $device |
|
| 44 | 43 | * |
| 45 | 44 | * @return mixed |
| 46 | 45 | */ |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | { |
| 49 | 49 | $user = $this->findUserService->byAgentId($agentId); |
| 50 | 50 | |
| 51 | - if(!$user){ |
|
| 51 | + if (!$user) { |
|
| 52 | 52 | $user = $this->createUserService->byAgent($agentId, $device, $platform); |
| 53 | 53 | } |
| 54 | 54 | |