mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Fixed some remaining one-line field declarations, added type docs
This commit is contained in:
@ -30,7 +30,13 @@ use function count;
|
||||
class Color{
|
||||
|
||||
/** @var int */
|
||||
protected $a, $r, $g, $b;
|
||||
protected $a;
|
||||
/** @var int */
|
||||
protected $r;
|
||||
/** @var int */
|
||||
protected $g;
|
||||
/** @var int */
|
||||
protected $b;
|
||||
|
||||
public function __construct(int $r, int $g, int $b, int $a = 0xff){
|
||||
$this->r = $r & 0xff;
|
||||
|
Reference in New Issue
Block a user