Fixed property types with missing null PhpDoc types

This commit is contained in:
Dylan K. Taylor
2020-02-05 20:55:03 +00:00
parent 495bfda044
commit 1a5228e7a6
11 changed files with 16 additions and 16 deletions

View File

@ -60,14 +60,14 @@ class Explosion{
public $affectedBlocks = [];
/** @var float */
public $stepLen = 0.3;
/** @var Entity|Block */
/** @var Entity|Block|null */
private $what;
/** @var SubChunkIteratorManager */
private $subChunkHandler;
/**
* @param Entity|Block $what
* @param Entity|Block|null $what
*/
public function __construct(Position $center, float $size, $what = null){
if(!$center->isValid()){