From a4c982a8637ba6d48aa7e1e322668f26418cdde3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20Ba=C5=A1i=C4=87?= Date: Wed, 24 Mar 2021 13:33:12 +0100 Subject: [PATCH] PHP 8 improvements. --- src/Url/LaravelUrlProvider.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/Url/LaravelUrlProvider.php b/src/Url/LaravelUrlProvider.php index 7a4d5e0..d301f72 100644 --- a/src/Url/LaravelUrlProvider.php +++ b/src/Url/LaravelUrlProvider.php @@ -6,17 +6,12 @@ class LaravelUrlProvider implements UrlProviderInterface { - /** - * @var Request $request - */ - protected $request; - /** * @param Request $request */ - public function __construct(Request $request) + public function __construct(protected Request $request) { - $this->request = $request; + // } /**