Skip to content

Commit e7228fb

Browse files
committed
Minor rewrite of comment
1 parent 0bcdd24 commit e7228fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $app->add(new \Slim\HttpCache\Cache('public', 86400));
3434
// Create the cache provider.
3535
$cacheProvider = new \Slim\HttpCache\CacheProvider();
3636

37-
// Register a route and pass the cache provider to the closure callback.
37+
// Register a route and let the closure callback inherit the cache provider.
3838
$app->get(
3939
'/',
4040
function (Request $request, Response $response, array $args) use ($cacheProvider): Response {

0 commit comments

Comments
 (0)