* [MOD] Code refactoring by enforcing type checks (WIP)

* [MOD] Update dependencies

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2021-01-17 14:56:56 +01:00
parent 41703b50f9
commit 8e96ec4285
173 changed files with 1265 additions and 1092 deletions

View File

@@ -81,10 +81,6 @@ abstract class ControllerBase
* @var bool
*/
protected $isAjax = false;
/**
* @var string
*/
protected $previousSk;
/**
* Constructor
@@ -302,7 +298,7 @@ abstract class ControllerBase
*
* @return bool
*/
protected function checkAccess($action)
protected function checkAccess($action): bool
{
return $this->userData->getIsAdminApp() || $this->acl->checkUserAccess($action);
}