mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-21 22:17:41 +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;
|
||||
|
||||
/** @var Pairing[] */
|
||||
private $Pairings;
|
||||
private $Pairings = [];
|
||||
|
||||
/**
|
||||
* @return string
|
||||
|
Loading…
Reference in New Issue
Block a user