mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-10 09:18:33 +01:00
Use imports instead of FQNs
This commit is contained in:
@@ -98,7 +98,7 @@ class SamlUserFactory implements SamlUserFactoryInterface, EventSubscriberInterf
|
||||
//Check if we can find a group with the given ID
|
||||
if ($group_id !== null) {
|
||||
$group = $this->em->find(Group::class, $group_id);
|
||||
if ($group instanceof \App\Entity\UserSystem\Group) {
|
||||
if ($group instanceof Group) {
|
||||
return $group;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user