Modernize property type declarations

This commit is contained in:
Dylan K. Taylor
2022-06-04 18:16:32 +01:00
parent 23695fb900
commit 083a35f970
114 changed files with 431 additions and 863 deletions

View File

@ -37,11 +37,8 @@ use const PHP_INT_MAX;
class ConsoleCommandSender implements CommandSender{
use PermissibleDelegateTrait;
/**
* @var int|null
* @phpstan-var positive-int|null
*/
protected $lineHeight = null;
/** @phpstan-var positive-int|null */
protected ?int $lineHeight = null;
public function __construct(
private Server $server,