mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-23 00:55:57 +00:00
LoginPacketHandler: use double quotes consistently
the mixture of single quotes and double quotes makes PHPStan type inference quietly not work, and reports an error here in checkExplicitMixed mode.
This commit is contained in:
parent
7d73630fb7
commit
3294075aad
@ -229,7 +229,7 @@ class LoginPacketHandler extends PacketHandler{
|
||||
$mapper->bExceptionOnUndefinedProperty = true;
|
||||
try{
|
||||
/** @var AuthenticationData $extraData */
|
||||
$extraData = $mapper->map($claims['extraData'], new AuthenticationData);
|
||||
$extraData = $mapper->map($claims["extraData"], new AuthenticationData);
|
||||
}catch(\JsonMapper_Exception $e){
|
||||
throw BadPacketException::wrap($e);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user