The expression return $this->entityMana...els\Entity\Permission') returns the type Doctrine\Persistence\ObjectRepository which includes types incompatible with the type-hinted return Potievdev\SlimRbac\Model...ry\PermissionRepository.
Loading history...
25
}
26
27
public function getRoleRepository(): RoleRepository
The expression return $this->entityMana...ac\Models\Entity\Role') returns the type Doctrine\Persistence\ObjectRepository which includes types incompatible with the type-hinted return Potievdev\SlimRbac\Model...pository\RoleRepository.
Loading history...
30
}
31
32
public function getUserRoleRepository(): UserRoleRepository
The expression return $this->entityMana...odels\Entity\UserRole') returns the type Doctrine\Persistence\ObjectRepository which includes types incompatible with the type-hinted return Potievdev\SlimRbac\Model...tory\UserRoleRepository.
Loading history...
35
}
36
37
public function getRolePermissionRepository(): RolePermissionRepository
The expression return $this->entityMana...Entity\RolePermission') returns the type Doctrine\Persistence\ObjectRepository which includes types incompatible with the type-hinted return Potievdev\SlimRbac\Model...olePermissionRepository.
Loading history...
40
}
41
42
public function getRoleHierarchyRepository(): RoleHierarchyRepository
The expression return $this->entityMana...\Entity\RoleHierarchy') returns the type Doctrine\Persistence\ObjectRepository which includes types incompatible with the type-hinted return Potievdev\SlimRbac\Model...RoleHierarchyRepository.