Skip to content

Commit b137b15

Browse files
committed
Merge branch '3.4' into 4.4
* 3.4: Tweak the code to avoid fabbot false positives
2 parents 9631d44 + c36e6b3 commit b137b15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Encoder/EncoderFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ private function createEncoder(array $config, bool $isExtra = false): PasswordEn
7272
$config = $this->getEncoderConfigFromAlgorithm($config);
7373
}
7474
if (!isset($config['class'])) {
75-
throw new \InvalidArgumentException(sprintf('"class" must be set in %s.', json_encode($config)));
75+
throw new \InvalidArgumentException('"class" must be set in '.json_encode($config));
7676
}
7777
if (!isset($config['arguments'])) {
78-
throw new \InvalidArgumentException(sprintf('"arguments" must be set in %s.', json_encode($config)));
78+
throw new \InvalidArgumentException('"arguments" must be set in '.json_encode($config));
7979
}
8080

8181
$encoder = new $config['class'](...$config['arguments']);

0 commit comments

Comments
 (0)