mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 08:40:09 +01:00
Use constructor promotion
This commit is contained in:
@@ -4,11 +4,13 @@
|
||||
|
||||
class Server
|
||||
{
|
||||
public $config;
|
||||
|
||||
public function __construct(array $config)
|
||||
/**
|
||||
* Create a new Server instance.
|
||||
*
|
||||
* @param array $config
|
||||
*/
|
||||
public function __construct(public array $config)
|
||||
{
|
||||
$this->config = $config;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user