pass 2, manual removal of incorrect non-nullable phpdoc types

This commit is contained in:
Dylan K. Taylor
2020-01-22 12:06:47 +00:00
parent 67bcc1c0fb
commit 1b33143f4f
15 changed files with 0 additions and 48 deletions

View File

@@ -38,7 +38,6 @@ class Location extends Position{
* @param float|int $x
* @param float|int $y
* @param float|int $z
* @param World $world
*/
public function __construct($x = 0, $y = 0, $z = 0, float $yaw = 0.0, float $pitch = 0.0, ?World $world = null){
$this->yaw = $yaw;
@@ -47,10 +46,6 @@ class Location extends Position{
}
/**
* @param World|null $world default null
* @param float $yaw default 0.0
* @param float $pitch default 0.0
*
* @return Location
*/
public static function fromObject(Vector3 $pos, ?World $world = null, float $yaw = 0.0, float $pitch = 0.0){