Skip to content

Commit d9ce74b

Browse files
Merge branch '5.3' into 5.4
* 5.3: [Contracts] Add missing `@return` annotations [FrameworkBundle] Fixed file operations in Sodium vault seal [Doctrine Bridge] Fix an exception message [Messenger] [Redis] Make `auth` option works
2 parents b6e32c8 + 07b6ae3 commit d9ce74b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Security/User/EntityUserProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function upgradePassword($user, string $newHashedPassword): void
139139
trigger_deprecation('symfony/doctrine-bridge', '5.3', 'The "%s::upgradePassword()" method expects an instance of "%s" as first argument, the "%s" class should implement it.', PasswordUpgraderInterface::class, PasswordAuthenticatedUserInterface::class, get_debug_type($user));
140140

141141
if (!$user instanceof UserInterface) {
142-
throw new \TypeError(sprintf('The "%s::upgradePassword()" method expects an instance of "%s" as first argument, "%s" given.', PasswordAuthenticatedUserInterface::class, get_debug_type($user)));
142+
throw new \TypeError(sprintf('The "%s()" method expects an instance of "%s" as first argument, "%s" given.', __METHOD__, PasswordAuthenticatedUserInterface::class, get_debug_type($user)));
143143
}
144144
}
145145

0 commit comments

Comments
 (0)