We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 842f719 commit b3ea56cCopy full SHA for b3ea56c
http_cache.rst
@@ -215,7 +215,7 @@ The *easiest* way to cache a response is by caching it for a specific amount of
215
use Symfony\Component\HttpFoundation\Response;
216
// ...
217
218
- public function index()
+ public function index(): Response
219
{
220
// somehow create a Response object, like by rendering a template
221
$response = $this->render('blog/index.html.twig', []);
0 commit comments