| 1 | <?php |
||
| 10 | class LogController extends Admin |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Servicio que muestra los logs del sistema |
||
| 14 | * @GET |
||
| 15 | * @route /admin/logs |
||
| 16 | * @visible false |
||
| 17 | * @return string|null |
||
| 18 | */ |
||
| 19 | public function logs() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @POST |
||
| 33 | * @route /admin/logs |
||
| 34 | * @visible false |
||
| 35 | * @return string |
||
|
|
|||
| 36 | */ |
||
| 37 | public function showLogs() |
||
| 50 | } |
This check compares the return type specified in the
@returnannotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.