mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 09:53:35 +02:00
Use imports instead of FQNs
This commit is contained in:
parent
f63b6d7207
commit
5629215ce4
179 changed files with 792 additions and 597 deletions
|
@ -44,7 +44,7 @@ final class UserRepository extends NamedDBElementRepository implements PasswordU
|
|||
*/
|
||||
public function getAnonymousUser(): ?User
|
||||
{
|
||||
if (!$this->anonymous_user instanceof \App\Entity\UserSystem\User) {
|
||||
if (!$this->anonymous_user instanceof User) {
|
||||
$this->anonymous_user = $this->findOneBy([
|
||||
'id' => User::ID_ANONYMOUS,
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue