mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 00:25:04 +00:00
Replace remaining disallowed operators
This commit is contained in:
@ -50,7 +50,7 @@ abstract class LegacyToStringBidirectionalIdMap{
|
||||
throw new AssumptionFailedError("Invalid format of ID map");
|
||||
}
|
||||
foreach($stringToLegacyId as $stringId => $legacyId){
|
||||
if(!is_string($stringId) or !is_int($legacyId)){
|
||||
if(!is_string($stringId) || !is_int($legacyId)){
|
||||
throw new AssumptionFailedError("ID map should have string keys and int values");
|
||||
}
|
||||
$this->legacyToString[$legacyId] = $stringId;
|
||||
|
Reference in New Issue
Block a user