Loading core/lib/Drupal/Component/HttpFoundation/SecuredRedirectResponse.php +1 −1 Changes for core/lib/Drupal/Component/HttpFoundation/SecuredRedirectResponse.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ protected function fromResponse(RedirectResponse $response) { /** * {@inheritdoc} */ public function setTargetUrl($url) { public function setTargetUrl($url): static { if (!$this->isSafe($url)) { throw new \InvalidArgumentException(sprintf('It is not safe to redirect to %s', $url)); } Loading Loading
core/lib/Drupal/Component/HttpFoundation/SecuredRedirectResponse.php +1 −1 Changes for core/lib/Drupal/Component/HttpFoundation/SecuredRedirectResponse.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ protected function fromResponse(RedirectResponse $response) { /** * {@inheritdoc} */ public function setTargetUrl($url) { public function setTargetUrl($url): static { if (!$this->isSafe($url)) { throw new \InvalidArgumentException(sprintf('It is not safe to redirect to %s', $url)); } Loading