From 743056e14d69ed529791e68b6199b6f9f8b4079a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Tue, 6 Apr 2021 22:07:27 +0200 Subject: [PATCH] php 7.4 --- app/Console/Commands/GenerateHtml.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Console/Commands/GenerateHtml.php b/app/Console/Commands/GenerateHtml.php index ad36e23..dda68f4 100644 --- a/app/Console/Commands/GenerateHtml.php +++ b/app/Console/Commands/GenerateHtml.php @@ -17,11 +17,11 @@ class GenerateHtml extends Command protected $description = 'Generate the static HTML.'; - public function __construct( - public Router $router, - public UrlGenerator $url, - ) { + public function __construct(Router $router, UrlGenerator $url) { parent::__construct(); + + $this->router = $router; + $this->url = $url; } public function handle()