Replace disallowed operators in src/console/

This commit is contained in:
Dylan K. Taylor 2022-01-20 16:49:04 +00:00
parent 6846f1e78a
commit 22bc3bc3f9
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -78,7 +78,7 @@ class ConsoleCommandSender implements CommandSender{
}
public function setScreenLineHeight(?int $height) : void{
if($height !== null and $height < 1){
if($height !== null && $height < 1){
throw new \InvalidArgumentException("Line height must be at least 1");
}
$this->lineHeight = $height;