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:
Dylan K. Taylor 2020-06-15 20:31:09 +01:00
parent 7d73630fb7
commit 3294075aad

View File

@ -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);
}