summaryrefslogtreecommitdiffstats
path: root/Core/Encoder/EncoderFactory.php
diff options
context:
space:
mode:
authorDouglas Greenshields <dgreenshields@gmail.com>2012-06-20 12:10:08 +0100
committerDouglas Greenshields <dgreenshields@gmail.com>2012-06-20 12:10:08 +0100
commit47c17d9466eecf765733bc359250faea94aa4b26 (patch)
tree8923949dbc54fd03b8467407230d3a8fc23c8293 /Core/Encoder/EncoderFactory.php
parent21569ef06a92bd82671a5d34ea0339fd1a2a33a3 (diff)
downloadsymfony-security-47c17d9466eecf765733bc359250faea94aa4b26.zip
symfony-security-47c17d9466eecf765733bc359250faea94aa4b26.tar.gz
symfony-security-47c17d9466eecf765733bc359250faea94aa4b26.tar.bz2
[Security] fixed exception message in EncoderFactory
Diffstat (limited to 'Core/Encoder/EncoderFactory.php')
-rw-r--r--Core/Encoder/EncoderFactory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/Encoder/EncoderFactory.php b/Core/Encoder/EncoderFactory.php
index a0cc3ce..7d34cc7 100644
--- a/Core/Encoder/EncoderFactory.php
+++ b/Core/Encoder/EncoderFactory.php
@@ -44,7 +44,7 @@ class EncoderFactory implements EncoderFactoryInterface
return $this->encoders[$class];
}
- throw new \RuntimeException(sprintf('No encoder has been configured for account "%s".', is_object($class) ? get_class($user) : $class));
+ throw new \RuntimeException(sprintf('No encoder has been configured for account "%s".', is_object($user) ? get_class($user) : $user));
}
/**