Skip to content

Commit 0182b1e

Browse files
Minor CS fixes
1 parent 4f58c32 commit 0182b1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cache/CacheTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function delete(string $key): bool
3838
private function doGet(CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, LoggerInterface $logger = null): mixed
3939
{
4040
if (0 > $beta ??= 1.0) {
41-
throw new class(sprintf('Argument "$beta" provided to "%s::get()" must be a positive number, %f given.', static::class, $beta)) extends \InvalidArgumentException implements InvalidArgumentException { };
41+
throw new class(sprintf('Argument "$beta" provided to "%s::get()" must be a positive number, %f given.', static::class, $beta)) extends \InvalidArgumentException implements InvalidArgumentException {};
4242
}
4343

4444
$item = $pool->getItem($key);

0 commit comments

Comments
 (0)