We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8776ee commit c36e6b3Copy full SHA for c36e6b3
Encoder/EncoderFactory.php
@@ -71,10 +71,10 @@ private function createEncoder(array $config)
71
$config = $this->getEncoderConfigFromAlgorithm($config);
72
}
73
if (!isset($config['class'])) {
74
- throw new \InvalidArgumentException(sprintf('"class" must be set in %s.', json_encode($config)));
+ throw new \InvalidArgumentException('"class" must be set in '.json_encode($config));
75
76
if (!isset($config['arguments'])) {
77
- throw new \InvalidArgumentException(sprintf('"arguments" must be set in %s.', json_encode($config)));
+ throw new \InvalidArgumentException('"arguments" must be set in '.json_encode($config));
78
79
80
$reflection = new \ReflectionClass($config['class']);
0 commit comments