Skip to content

Commit 6793505

Browse files
committed
Style fix
1 parent 67b3a54 commit 6793505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RedisCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function get(string $key): mixed
3939
}
4040
}
4141

42-
public function set(string $key, mixed $value, int $ttl = null): void
42+
public function set(string $key, mixed $value, ?int $ttl = null): void
4343
{
4444
if ($ttl !== null && $ttl < 0) {
4545
throw new \Error('Invalid TTL: ' . $ttl);

0 commit comments

Comments
 (0)