8000 [Security] fixed exception message in EncoderFactory · lauris/symfony@d4b0a9c · GitHub
[go: up one dir, main page]

Skip to content

Commit d4b0a9c

Browse files
committed
[Security] fixed exception message in EncoderFactory
1 parent 092b5dd commit d4b0a9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Security/Core/Encoder/EncoderFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function getEncoder($user)
4444
return $this->encoders[$class];
4545
}
4646

47-
throw new \RuntimeException(sprintf('No encoder has been configured for account "%s".', is_object($class) ? get_class($user) : $class));
47+
throw new \RuntimeException(sprintf('No encoder has been configured for account "%s".', is_object($user) ? get_class($user) : $user));
4848
}
4949

5050
/**

0 commit comments

Comments
 (0)
0