Loading src/UnicaenPrivilege/Assertion/AbstractAssertion.php +1 −1 Changes for src/UnicaenPrivilege/Assertion/AbstractAssertion.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -266,7 +266,7 @@ abstract class AbstractAssertion implements AssertionInterface * * @return boolean */ protected function assertEntity(ResourceInterface $entity, $privilege = null) protected function assertEntity(?ResourceInterface $entity, $privilege = null) { return true; } Loading src/UnicaenPrivilege/Service/Privilege/PrivilegeService.php +2 −1 Changes for src/UnicaenPrivilege/Service/Privilege/PrivilegeService.php: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -16,8 +16,9 @@ use UnicaenPrivilege\Provider\Privilege\PrivilegeEvents; use UnicaenPrivilege\Provider\Privilege\Privileges; use UnicaenPrivilege\Service\CommonService; use UnicaenUtilisateur\Entity\Db\RoleInterface; use BjyAuthorize\Provider\Resource\ProviderInterface; class PrivilegeService extends CommonService implements EventManagerAwareInterface class PrivilegeService extends CommonService implements EventManagerAwareInterface, ProviderInterface { use PrivilegeCategorieServiceAwareTrait; use EventManagerAwareTrait; Loading Loading
src/UnicaenPrivilege/Assertion/AbstractAssertion.php +1 −1 Changes for src/UnicaenPrivilege/Assertion/AbstractAssertion.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -266,7 +266,7 @@ abstract class AbstractAssertion implements AssertionInterface * * @return boolean */ protected function assertEntity(ResourceInterface $entity, $privilege = null) protected function assertEntity(?ResourceInterface $entity, $privilege = null) { return true; } Loading
src/UnicaenPrivilege/Service/Privilege/PrivilegeService.php +2 −1 Changes for src/UnicaenPrivilege/Service/Privilege/PrivilegeService.php: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -16,8 +16,9 @@ use UnicaenPrivilege\Provider\Privilege\PrivilegeEvents; use UnicaenPrivilege\Provider\Privilege\Privileges; use UnicaenPrivilege\Service\CommonService; use UnicaenUtilisateur\Entity\Db\RoleInterface; use BjyAuthorize\Provider\Resource\ProviderInterface; class PrivilegeService extends CommonService implements EventManagerAwareInterface class PrivilegeService extends CommonService implements EventManagerAwareInterface, ProviderInterface { use PrivilegeCategorieServiceAwareTrait; use EventManagerAwareTrait; Loading