diff --git a/system/HTTP/Exceptions/RedirectException.php b/system/HTTP/Exceptions/RedirectException.php index abb9be1e9e35..a16dfc1a8a2d 100644 --- a/system/HTTP/Exceptions/RedirectException.php +++ b/system/HTTP/Exceptions/RedirectException.php @@ -80,7 +80,7 @@ public function getResponse(): ResponseInterface $location = $this->response->getHeaderLine('Location'); - service(('logger'))->info(sprintf( + service('logger')->info(sprintf( 'REDIRECTED ROUTE at %s', $location !== '' ? $location : substr($this->response->getHeaderLine('Refresh'), 6), ));