SignText: provide typeinfo for checkLineIndex

This commit is contained in:
Dylan K. Taylor 2020-01-11 22:39:42 +00:00
parent 9c06c1a06f
commit eba246eab3

View File

@ -86,6 +86,9 @@ class SignText{
}
}
/**
* @param int|string $index
*/
private function checkLineIndex($index) : void{
if(!is_int($index)){
throw new \InvalidArgumentException("Index must be an integer");