Skip to content

Commit

Permalink
Minor rewrite of comment
Browse files Browse the repository at this point in the history
  • Loading branch information
adriansuter committed Jun 17, 2020
1 parent 0bcdd24 commit e7228fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ $app->add(new \Slim\HttpCache\Cache('public', 86400));
// Create the cache provider.
$cacheProvider = new \Slim\HttpCache\CacheProvider();

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

0 comments on commit e7228fb

Please sign in to comment.