Skip to content

Commit a739143

Browse files
[Cache] Added hint
1 parent 895781a commit a739143

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http_cache/esi.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ of the main page::
172172
// ...
173173
class NewsController extends AbstractController
174174
{
175-
public function latest($maxPerPage): Response
175+
public function latest(int $maxPerPage): Response
176176
{
177177
// sets to public and adds some expiration
178178
$response->setSharedMaxAge(60);

0 commit comments

Comments
 (0)