mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
php 7.4
This commit is contained in:
parent
481dd3c3fb
commit
743056e14d
1 changed files with 4 additions and 4 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue