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