Skip to content

Commit 497958c

Browse files
committed
chore: fix typo in named argument
1 parent 5997c55 commit 497958c

File tree

1 file changed

+1
-1
lines changed
  • src/Web/Documentation/content/main/2-features

1 file changed

+1
-1
lines changed

src/Web/Documentation/content/main/2-features/06-cache.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ final readonly class OrderService
3737
return $this->cache->resolve(
3838
key: 'orders_count',
3939
resolve: fn () => $this->fetchOrdersCountFromDatabase(),
40-
duration: Duration::hours(12)
40+
expiration: Duration::hours(12)
4141
);
4242
}
4343

0 commit comments

Comments
 (0)