Modernize private property declarations in src/player

This commit is contained in:
Dylan K. Taylor
2022-05-17 21:36:51 +01:00
parent 22edca610c
commit 7bc3dcdefd
6 changed files with 30 additions and 77 deletions

View File

@ -30,9 +30,7 @@ use Ramsey\Uuid\UuidInterface;
* Encapsulates player info specific to players who are authenticated with XBOX Live.
*/
final class XboxLivePlayerInfo extends PlayerInfo{
/** @var string */
private $xuid;
private string $xuid;
public function __construct(string $xuid, string $username, UuidInterface $uuid, Skin $skin, string $locale, array $extraData = []){
parent::__construct($username, $uuid, $skin, $locale, $extraData);