mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-06 16:36:59 +01:00
* [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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user