Skip to content

Commit c36e6b3

Browse files
committed
Tweak the code to avoid fabbot false positives
1 parent b8776ee commit c36e6b3

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
@@ -71,10 +71,10 @@ private function createEncoder(array $config)
7171
$config = $this->getEncoderConfigFromAlgorithm($config);
7272
}
7373
if (!isset($config['class'])) {
74-
throw new \InvalidArgumentException(sprintf('"class" must be set in %s.', json_encode($config)));
74+
throw new \InvalidArgumentException('"class" must be set in '.json_encode($config));
7575
}
7676
if (!isset($config['arguments'])) {
77-
throw new \InvalidArgumentException(sprintf('"arguments" must be set in %s.', json_encode($config)));
77+
throw new \InvalidArgumentException('"arguments" must be set in '.json_encode($config));
7878
}
7979

8080
$reflection = new \ReflectionClass($config['class']);

0 commit comments

Comments
 (0)