mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-22 06:26:57 +01:00
BUGFIX: Player::getPairings() return null
PHP Fatal error: Uncaught TypeError: Return value of JeroenED\Libpairtwo\Models\Player::getPairings() must be of the type array, null returned in vendor/jeroened/libpairtwo/src/Models/Player.php:372
This commit is contained in:
parent
fbe6009bd6
commit
516740643e
@ -70,7 +70,7 @@ class Player
|
|||||||
private $Absent;
|
private $Absent;
|
||||||
|
|
||||||
/** @var Pairing[] */
|
/** @var Pairing[] */
|
||||||
private $Pairings;
|
private $Pairings = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
|
Loading…
Reference in New Issue
Block a user