Vincent GUFFON 3 years ago
parent
commit
4d04c4a14c
2 changed files with 4 additions and 4 deletions
  1. 3 3
      src/Entity/Access/Access.php
  2. 1 1
      src/Entity/Person/Person.php

+ 3 - 3
src/Entity/Access/Access.php

@@ -505,17 +505,17 @@ class Access implements UserInterface
         return $this->person->getUsername();
     }
 
-    public function getPassword()
+    public function getPassword(): ?string
     {
         // TODO: Implement getPassword() method.
     }
 
-    public function getSalt()
+    public function getSalt(): ?string
     {
         // TODO: Implement getSalt() method.
     }
 
-    public function getUsername()
+    public function getUsername(): ?string
     {
         // TODO: Implement getUsername() method.
     }

+ 1 - 1
src/Entity/Person/Person.php

@@ -122,7 +122,7 @@ class Person implements UserInterface
         return $this;
     }
 
-    public function getSalt()
+    public function getSalt(): ?string
     {
         // not needed when using the "bcrypt" algorithm in security.yaml
     }