We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b3766d commit 1624b79Copy full SHA for 1624b79
src/AbstractCache.php
@@ -608,7 +608,7 @@ private static function parseDurationToSeconds(string $duration): int
608
$re = '/(-?)(?:(?:(\d+)h)?(\d+)m)?(\d+).\d+(m?)s/m';
609
preg_match($re, $duration, $matches);
610
if (!\count($matches)) {
611
- throw new BouncerException("Unable to parse the following duration: {$$duration}.");
+ throw new BouncerException('Unable to parse the following duration: '. $duration);
612
}
613
$seconds = 0;
614
if (isset($matches[2])) {
0 commit comments