@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | public function current(): ?User |
15 | 15 | { |
16 | 16 | $userModel = Auth::user(); |
17 | - if(!isset($userModel)){ |
|
17 | + if (!isset($userModel)) { |
|
18 | 18 | return null; |
19 | 19 | } |
20 | 20 | return new User($userModel->uuid, $userModel->email, $userModel->firstname, $userModel->lastname, $userModel->organization_id); |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | Auth::login($autenticable); |
27 | 27 | } |
28 | 28 | |
29 | - public function wikiSessionId():? string |
|
29 | + public function wikiSessionId(): ? string |
|
30 | 30 | { |
31 | 31 | return Session::get('wiki_session_id'); |
32 | 32 | } |
@@ -8,7 +8,7 @@ |
||
8 | 8 | |
9 | 9 | interface AuthGateway |
10 | 10 | { |
11 | - public function current():? User; |
|
11 | + public function current(): ? User; |
|
12 | 12 | public function log(User $u); |
13 | - public function wikiSessionId():?string; |
|
13 | + public function wikiSessionId(): ?string; |
|
14 | 14 | } |