Skip to content

Commit 8f34e42

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Tweak the code to avoid fabbot false positives
2 parents e50b0a6 + b137b15 commit 8f34e42

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)