| 1 | <?php |
||
| 18 | abstract class Admin extends AuthAdminController |
||
| 19 | { |
||
| 20 | |||
| 21 | const DOMAIN = 'ROOT'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @Inyectable |
||
| 25 | * @var \PSFS\base\config\Config Configuration service |
||
| 26 | */ |
||
| 27 | protected $config; |
||
| 28 | /** |
||
| 29 | * @Inyectable |
||
| 30 | * @var \PSFS\services\AdminServices Admin service |
||
| 31 | */ |
||
| 32 | protected $srv; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Método estático de login de administrador |
||
| 36 | * @param string $route |
||
|
|
|||
| 37 | * @return string HTML |
||
| 38 | * @throws \PSFS\base\exception\FormException |
||
| 39 | */ |
||
| 40 | 1 | public static function staticAdminLogon($route = null) |
|
| 59 | |||
| 60 | /** |
||
| 61 | * Método que gestiona el menú de administración |
||
| 62 | * @GET |
||
| 63 | * @route /admin |
||
| 64 | * @visible false |
||
| 65 | * @return string|null |
||
| 66 | */ |
||
| 67 | public function index() |
||
| 71 | |||
| 72 | } |
||
| 73 |
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.