Skip to content

Commit e73f719

Browse files
committed
Vector3: fix wrong doc param types for add() and subtract()
1 parent b755d3f commit e73f719

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Vector3.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ public function getFloorZ() : int{
8989
}
9090

9191
/**
92-
* @param Vector3|int $x
93-
* @param int $y
94-
* @param int $z
92+
* @param Vector3|float $x
93+
* @param float $y
94+
* @param float $z
9595
*
9696
* @return Vector3
9797
*/
@@ -104,9 +104,9 @@ public function add($x, $y = 0, $z = 0) : Vector3{
104104
}
105105

106106
/**
107-
* @param Vector3|int $x
108-
* @param int $y
109-
* @param int $z
107+
* @param Vector3|float $x
108+
* @param float $y
109+
* @param float $z
110110
*
111111
* @return Vector3
112112
*/

0 commit comments

Comments
 (0)