1 | <?php |
||
19 | class UserController extends Admin |
||
20 | { |
||
21 | /** |
||
22 | * @return string |
||
|
|||
23 | */ |
||
24 | 1 | public static function showAdminManager() |
|
38 | |||
39 | /** |
||
40 | * Método que gestiona los usuarios administradores de la plataforma |
||
41 | * @GET |
||
42 | * @route /admin/setup |
||
43 | * @label Gestor de usuarios PSFS |
||
44 | * @return string|null |
||
45 | * @throws \HttpException |
||
46 | */ |
||
47 | public function adminers() |
||
51 | |||
52 | /** |
||
53 | * @return string |
||
54 | */ |
||
55 | public static function updateAdminUsers() |
||
76 | |||
77 | /** |
||
78 | * Servicio que guarda los usuarios de administración |
||
79 | * @POST |
||
80 | * @route /admin/setup |
||
81 | * @visible false |
||
82 | * @return string|void |
||
83 | * @throws \HttpException |
||
84 | */ |
||
85 | public function setAdminUsers() |
||
89 | |||
90 | /** |
||
91 | * Acción que pinta un formulario genérico de login pra la zona restringida |
||
92 | * @param string $route |
||
93 | * @GET |
||
94 | * @route /admin/login |
||
95 | * @visible false |
||
96 | * @return string HTML |
||
97 | */ |
||
98 | public function adminLogin($route = null) |
||
106 | |||
107 | /** |
||
108 | * Servicio que valida el login |
||
109 | * @param null $route |
||
110 | * @POST |
||
111 | * @visible false |
||
112 | * @route /admin/login |
||
113 | * @return string |
||
114 | * @throws \PSFS\base\exception\FormException |
||
115 | */ |
||
116 | public function postLogin($route = null) |
||
151 | } |
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.