Skip to content

Commit 0f07f68

Browse files
committed
Report the correct package in the deprecation message
1 parent 82dbf1e commit 0f07f68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Security/LdapUser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function getSalt(): ?string
7676
*/
7777
public function getUsername(): string
7878
{
79-
trigger_deprecation('symfony/security-core', '5.3', 'Method "%s()" is deprecated and will be removed in 6.0, use getUserIdentifier() instead.', __METHOD__);
79+
trigger_deprecation('symfony/ldap', '5.3', 'Method "%s()" is deprecated and will be removed in 6.0, use getUserIdentifier() instead.', __METHOD__);
8080

8181
return $this->username;
8282
}

0 commit comments

Comments
 (0)