mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 02:09:03 +02:00
Fixed error preventing the service container from compiling
This commit is contained in:
parent
55641a234c
commit
c24019fd57
5 changed files with 10 additions and 9 deletions
|
@ -30,8 +30,8 @@ use App\Security\Interfaces\HasPermissionsInterface;
|
|||
use App\Validator\Constraints\Selectable;
|
||||
use App\Validator\Constraints\ValidPermission;
|
||||
use App\Validator\Constraints\ValidTheme;
|
||||
use Hslavich\OneloginSamlBundle\Security\User\SamlUserInterface;
|
||||
use Jbtronics\TFAWebauthn\Model\LegacyU2FKeyInterface;
|
||||
use Nbgrp\OneloginSamlBundle\Security\User\SamlUserInterface;
|
||||
use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface;
|
||||
use Symfony\Component\Serializer\Annotation\Groups;
|
||||
use Webauthn\PublicKeyCredentialUserEntity;
|
||||
|
@ -967,7 +967,7 @@ class User extends AttachmentContainingDBElement implements UserInterface, HasPe
|
|||
|
||||
|
||||
|
||||
public function setSamlAttributes(array $attributes)
|
||||
public function setSamlAttributes(array $attributes): void
|
||||
{
|
||||
//When mail attribute exists, set it
|
||||
if (isset($attributes['email'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue