8000 Minor CS fixes · symfony/cache-contracts@1d74b12 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1d74b12

Browse files
Minor CS fixes
1 parent ad94564 commit 1d74b12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)
0