mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 01:16:15 +00:00
Replace disallowed operators in src/block/
This commit is contained in:
@ -89,7 +89,7 @@ class SignText{
|
||||
if(!is_int($index)){
|
||||
throw new \InvalidArgumentException("Index must be an integer");
|
||||
}
|
||||
if($index < 0 or $index >= self::LINE_COUNT){
|
||||
if($index < 0 || $index >= self::LINE_COUNT){
|
||||
throw new \InvalidArgumentException("Line index is out of bounds");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user