Skip to content

Commit 436cf12

Browse files
committed
Fixed line length in CachingConnector.
1 parent 14cca19 commit 436cf12

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/Connector/CachingConnector.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,11 @@ private function validateCacheKey($key)
117117
}
118118

119119
if (strpbrk($key, self::RESERVED_CHARACTERS) !== false) {
120-
throw new InvalidCacheKeyException(
121-
sprintf('Cache key "%s" contains one or more reserved characters: "%s"', $key, self::RESERVED_CHARACTERS)
122-
);
120+
throw new InvalidCacheKeyException(sprintf(
121+
'Cache key "%s" contains one or more reserved characters: "%s".',
122+
$key,
123+
self::RESERVED_CHARACTERS
124+
));
123125
}
124126

125127
return $key;

0 commit comments

Comments
 (0)