We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40b69e4 commit e0a4b71Copy full SHA for e0a4b71
src/Civ13/CivHandler.php
@@ -16,17 +16,15 @@
16
17
abstract class CivHandler extends Handler implements CivHandlerInterface
18
{
19
- public Civ13 $civ13;
20
public Discord $discord;
21
public Logger $logger;
22
23
use RankTrait;
24
25
- public function __construct(Civ13 &$civ13, array $handlers = [])
+ public function __construct(public Civ13 &$civ13, array $handlers = [])
26
27
parent::__construct();
28
$this->attributes['handlers'] = $handlers;
29
- $this->civ13 =& $civ13;
30
$this->discord =& $civ13->discord;
31
$this->logger =& $civ13->logger;
32
}
0 commit comments