Skip to content

Commit 834e798

Browse files
Add return types to internal|final|private methods
1 parent 431404b commit 834e798

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Adapter/ExtLdap/Query.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public function getResource($idx = 0)
169169
*
170170
* @internal
171171
*/
172-
public function getResources()
172+
public function getResources(): array
173173
{
174174
return $this->results;
175175
}

Security/LdapUser.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,22 +57,22 @@ public function getRoles()
5757
/**
5858
* {@inheritdoc}
5959
*/
60-
public function getPassword()
60+
public function getPassword(): ?string
6161
{
6262
return $this->password;
6363
}
6464

6565
/**
6666
* {@inheritdoc}
6767
*/
68-
public function getSalt()
68+
public function getSalt(): ?string
6969
{
7070
}
7171

7272
/**
7373
* {@inheritdoc}
7474
*/
75-
public function getUsername()
75+
public function getUsername(): string
7676
{
7777
return $this->username;
7878
}

0 commit comments

Comments
 (0)