| 1 | <?php |
||
| 15 | class Admin extends AuthAdminController{ |
||
| 16 | |||
| 17 | const DOMAIN = 'ROOT'; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @Inyectable |
||
| 21 | * @var \PSFS\base\config\Config Configuration service |
||
| 22 | */ |
||
| 23 | protected $config; |
||
| 24 | /** |
||
| 25 | * @Inyectable |
||
| 26 | * @var \PSFS\services\AdminServices Admin service |
||
| 27 | */ |
||
| 28 | protected $srv; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Wrapper de asignación de los menus |
||
| 32 | * @return array |
||
| 33 | */ |
||
| 34 | protected function getMenu() { |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Método estático de login de administrador |
||
| 40 | * @param string $route |
||
|
|
|||
| 41 | * @return string HTML |
||
| 42 | * @throws \PSFS\base\exception\FormException |
||
| 43 | */ |
||
| 44 | public static function staticAdminLogon($route = null) { |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Método que gestiona el menú de administración |
||
| 57 | * @GET |
||
| 58 | * @route /admin |
||
| 59 | * @visible false |
||
| 60 | * @return string|null |
||
| 61 | */ |
||
| 62 | public function index() { |
||
| 65 | |||
| 66 | } |
||
| 67 |
This check looks for
@paramannotations where the type inferred by our type inference engine differs from the declared type.It makes a suggestion as to what type it considers more descriptive.
Most often this is a case of a parameter that can be null in addition to its declared types.