mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-12-01 18:51:32 +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
16afc410da
commit
cfc1a514bf
@ -70,7 +70,7 @@ class Player
|
||||
private $Absent;
|
||||
|
||||
/** @var Pairing[] */
|
||||
private $Pairings;
|
||||
private $Pairings = [];
|
||||
|
||||
/**
|
||||
* @return string
|
||||
|
Loading…
Reference in New Issue
Block a user