Skip to content

Commit c9e6b91

Browse files
committed
Merge pull request #270 from kreischweide/master
[Book][Cache] Corrected variable
2 parents 743c42c + de704ad commit c9e6b91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/http_cache.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ exposing a simple and efficient pattern::
643643
$response->setLastModified($article->getPublishedAt());
644644

645645
// Check that the Response is not modified for the given Request
646-
if ($response->isNotModified($request)) {
646+
if ($response->isNotModified($this->get('request'))) {
647647
// return the 304 Response immediately
648648
return $response;
649649
} else {

0 commit comments

Comments
 (0)