1
0
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:
Matt Stauffer
2022-12-20 21:51:15 -05:00
parent 78d0398942
commit 75d43a42ea
9 changed files with 21 additions and 75 deletions

View File

@@ -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;
}
/**