mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-04 09:10:00 +00:00
SignText: provide typeinfo for checkLineIndex
This commit is contained in:
parent
9c06c1a06f
commit
eba246eab3
@ -86,6 +86,9 @@ class SignText{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param int|string $index
|
||||||
|
*/
|
||||||
private function checkLineIndex($index) : void{
|
private function checkLineIndex($index) : void{
|
||||||
if(!is_int($index)){
|
if(!is_int($index)){
|
||||||
throw new \InvalidArgumentException("Index must be an integer");
|
throw new \InvalidArgumentException("Index must be an integer");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user