Total Complexity | 2 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class Profile extends User |
||
11 | { |
||
12 | public function profile() |
||
13 | { |
||
14 | $userId = $this->session->get(Session::USER_ID); |
||
15 | |||
16 | $this->update($userId); |
||
|
|||
17 | } |
||
18 | |||
19 | /** |
||
20 | * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
||
21 | * |
||
22 | * @param string $next |
||
23 | * @param string|null $entityId |
||
24 | * |
||
25 | * @return string |
||
26 | * @throws URLException |
||
27 | */ |
||
28 | protected function getUrl(string $next, string $entityId = null) |
||
36 | } |
||
37 | } |
||
38 |