Skip to content

Commit

Permalink
Update docs/en/reference/dql-doctrine-query-language.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Claudio Zizza <[email protected]>
  • Loading branch information
kaznovac and SenseException authored Sep 8, 2023
1 parent eafc0c6 commit 962263a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/reference/dql-doctrine-query-language.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1381,7 +1381,7 @@ Result Cache API:
$query->setResultCacheDriver(new ApcCache());
$query->useResultCache(true)
->setResultCacheLifeTime(seconds: 3600);
->setResultCacheLifeTime(lifetime: 3600);
$result = $query->getResult(); // cache miss
Expand Down

0 comments on commit 962263a

Please sign in to comment.