1 | <?php |
||
13 | class RouteController extends Admin { |
||
14 | /** |
||
15 | * Método que pinta por pantalla todas las rutas del sistema |
||
16 | * @GET |
||
17 | * @route /admin/routes |
||
18 | */ |
||
19 | public function printRoutes() |
||
25 | |||
26 | /** |
||
27 | * Servicio que devuelve los parámetros disponibles |
||
28 | * @GET |
||
29 | * @route /admin/routes/show |
||
30 | * @visible false |
||
31 | * @return mixed |
||
|
|||
32 | */ |
||
33 | public function getRouting() |
||
38 | |||
39 | /** |
||
40 | * Service to regenerate routes |
||
41 | * @GET |
||
42 | * @route /admin/routes/gen |
||
43 | * @visible false |
||
44 | * @return string HTML |
||
45 | */ |
||
46 | public function regenerateUrls() |
||
61 | } |
This check looks for the generic type
array
as a return type and suggests a more specific type. This type is inferred from the actual code.