1 | <?php |
||
19 | class UserController extends Admin |
||
20 | { |
||
21 | /** |
||
22 | * @return string |
||
|
|||
23 | */ |
||
24 | 1 | public static function showAdminManager() { |
|
37 | |||
38 | /** |
||
39 | * Método que gestiona los usuarios administradores de la plataforma |
||
40 | * @GET |
||
41 | * @route /admin/setup |
||
42 | * @return string|null |
||
43 | * @throws \HttpException |
||
44 | */ |
||
45 | public function adminers() |
||
49 | |||
50 | /** |
||
51 | * @return string |
||
52 | */ |
||
53 | public static function updateAdminUsers() { |
||
73 | |||
74 | /** |
||
75 | * Servicio que guarda los usuarios de administración |
||
76 | * @POST |
||
77 | * @route /admin/setup |
||
78 | * @visible false |
||
79 | * @return string|void |
||
80 | * @throws \HttpException |
||
81 | */ |
||
82 | public function setAdminUsers() |
||
86 | |||
87 | /** |
||
88 | * Acción que pinta un formulario genérico de login pra la zona restringida |
||
89 | * @param string $route |
||
90 | * @GET |
||
91 | * @route /admin/login |
||
92 | * @visible false |
||
93 | * @return string HTML |
||
94 | */ |
||
95 | public function adminLogin($route = null) |
||
103 | |||
104 | /** |
||
105 | * Servicio que valida el login |
||
106 | * @param null $route |
||
107 | * @POST |
||
108 | * @visible false |
||
109 | * @route /admin/login |
||
110 | * @return string |
||
111 | * @throws \PSFS\base\exception\FormException |
||
112 | */ |
||
113 | public function postLogin($route = null) |
||
148 | } |
This check compares the return type specified in the
@return
annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.