Skip to content

Commit 27ef88b

Browse files
CS fixes
1 parent 13cfcf3 commit 27ef88b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Transport/Connection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ public static function fromDsn(#[\SensitiveParameter] string $dsn, array $option
7878
// check for extra keys in options
7979
$optionsExtraKeys = array_diff(array_keys($options), array_keys(self::DEFAULT_OPTIONS));
8080
if (0 < \count($optionsExtraKeys)) {
81-
throw new InvalidArgumentException(sprintf('Unknown option found : [%s]. Allowed options are [%s].', implode(', ', $optionsExtraKeys), implode(', ', array_keys(self::DEFAULT_OPTIONS))));
81+
throw new InvalidArgumentException(\sprintf('Unknown option found : [%s]. Allowed options are [%s].', implode(', ', $optionsExtraKeys), implode(', ', array_keys(self::DEFAULT_OPTIONS))));
8282
}
8383

8484
// check for extra keys in options
8585
$queryExtraKeys = array_diff(array_keys($query), array_keys(self::DEFAULT_OPTIONS));
8686
if (0 < \count($queryExtraKeys)) {
87-
throw new InvalidArgumentException(sprintf('Unknown option found in DSN: [%s]. Allowed options are [%s].', implode(', ', $queryExtraKeys), implode(', ', array_keys(self::DEFAULT_OPTIONS))));
87+
throw new InvalidArgumentException(\sprintf('Unknown option found in DSN: [%s]. Allowed options are [%s].', implode(', ', $queryExtraKeys), implode(', ', array_keys(self::DEFAULT_OPTIONS))));
8888
}
8989

9090
return new self(

0 commit comments

Comments
 (0)