Skip to content

Commit 02a4808

Browse files
Add return types, round 1
1 parent 2443f7b commit 02a4808

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Fixtures/TestLegacyPasswordAuthenticatedUser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function getPassword(): ?string
3030
return $this->password;
3131
}
3232

33-
public function getRoles()
33+
public function getRoles(): array
3434
{
3535
return $this->roles;
3636
}
@@ -41,7 +41,7 @@ public function eraseCredentials()
4141
return;
4242
}
4343

44-
public function getUsername()
44+
public function getUsername(): string
4545
{
4646
return $this->username;
4747
}

0 commit comments

Comments
 (0)