diff -ru src/Symfony/Bundle/FrameworkBundle/KernelBrowser.php src/Symfony/Bundle/FrameworkBundle/KernelBrowser.php --- src/Symfony/Bundle/FrameworkBundle/KernelBrowser.php 2024-05-15 12:06:32.893308033 +0000 +++ src/Symfony/Bundle/FrameworkBundle/KernelBrowser.php 2024-05-15 12:06:34.216354598 +0000 @@ -36,9 +36,6 @@ private bool $reboot = true; private SessionInterface $session; - /** - * {@inheritdoc} - */ public function __construct(KernelInterface $kernel, array $server = [], History $history = null, CookieJar $cookieJar = null) { parent::__construct($kernel, $server, $history, $cookieJar); @@ -150,8 +147,6 @@ /** * Set value on session initialized by loginUser(). * - * @param mixed $value - * * @return $this */ protected function setLoginSessionValue(string $name, $value): self @@ -159,14 +154,13 @@ if (isset($this->session)) { $this->session->set($name, $value); $this->session->save(); + return $this; } - throw new \LogicException("loginUser() must be called to initialize session"); + throw new \LogicException('loginUser() must be called to initialize session'); } /** - * {@inheritdoc} - * * @param Request $request */ protected function doRequest(object $request): Response @@ -191,8 +185,6 @@ } /** - * {@inheritdoc} - * * @param Request $request */ protected function doRequestInProcess(object $request): Response