pass 2, manual removal of incorrect non-nullable @param for nullable native types

This commit is contained in:
Dylan K. Taylor
2020-01-21 15:44:34 +00:00
parent c4793241f5
commit 9f44adf04a
18 changed files with 0 additions and 53 deletions

View File

@ -1643,8 +1643,6 @@ class Level implements ChunkManager, Metadatable{
}
/**
* @param Vector3 $motion
*
* @return ItemEntity|null
*/
public function dropItem(Vector3 $source, Item $item, Vector3 $motion = null, int $delay = 10){
@ -1725,7 +1723,6 @@ class Level implements ChunkManager, Metadatable{
* It'll try to lower the durability if Item is a tool, and set it to Air if broken.
*
* @param Item $item reference parameter (if null, can break anything)
* @param Player $player
*/
public function useBreakOn(Vector3 $vector, Item &$item = null, Player $player = null, bool $createParticles = false) : bool{
$target = $this->getBlock($vector);
@ -1995,8 +1992,6 @@ class Level implements ChunkManager, Metadatable{
/**
* Returns the entities near the current one inside the AxisAlignedBB
*
* @param Entity $entity
*
* @return Entity[]
*/
public function getNearbyEntities(AxisAlignedBB $bb, Entity $entity = null) : array{