mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 10:33:49 +00:00
cs: Enable risky rule static_lambda
.
This commit is contained in:
@@ -599,7 +599,7 @@ class EventController extends AbstractController
|
||||
$response->setPrivate();
|
||||
$response->headers->addCacheControlDirective('no-cache', true);
|
||||
$response->headers->addCacheControlDirective('must-revalidate', true);
|
||||
$response->setCallback(function () use ($writer) {
|
||||
$response->setCallback(static function () use ($writer) {
|
||||
$writer->save('php://output');
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user