Skip to content

Commit e0a4b71

Browse files
committed
Update CivHandler.php
1 parent 40b69e4 commit e0a4b71

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Civ13/CivHandler.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,15 @@
1616

1717
abstract class CivHandler extends Handler implements CivHandlerInterface
1818
{
19-
public Civ13 $civ13;
2019
public Discord $discord;
2120
public Logger $logger;
2221

2322
use RankTrait;
2423

25-
public function __construct(Civ13 &$civ13, array $handlers = [])
24+
public function __construct(public Civ13 &$civ13, array $handlers = [])
2625
{
2726
parent::__construct();
2827
$this->attributes['handlers'] = $handlers;
29-
$this->civ13 =& $civ13;
3028
$this->discord =& $civ13->discord;
3129
$this->logger =& $civ13->logger;
3230
}

0 commit comments

Comments
 (0)