Skip to content

Commit

Permalink
PHP 8 improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
mabasic committed Mar 24, 2021
1 parent a902d62 commit a4c982a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/Url/LaravelUrlProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
//
}

/**
Expand Down

0 comments on commit a4c982a

Please sign in to comment.