@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | /** |
29 | 29 | * Adds an element to the tuple. |
30 | 30 | * |
31 | - * @param float|BigNumber $value The value to add. |
|
31 | + * @param integer $value The value to add. |
|
32 | 32 | * @return int Returns the index of the element that was added. |
33 | 33 | */ |
34 | 34 | public function addElement($value) |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | /** |
76 | 76 | * Removes the given element. |
77 | 77 | * |
78 | - * @param float|BigNumber $element The element to remove. |
|
78 | + * @param integer $element The element to remove. |
|
79 | 79 | * @return bool Returns true when the element was removed; false otherwise. |
80 | 80 | */ |
81 | 81 | public function removeElement($element) |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | * Calculates the dot product between this vector and the given vector. |
40 | 40 | * |
41 | 41 | * @param Vector $vector The vector to calculate thet dot product with. |
42 | - * @return float |
|
42 | + * @return BigNumber |
|
43 | 43 | */ |
44 | 44 | public function dotProduct(Vector $vector) |
45 | 45 | { |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | /** |
73 | 73 | * Gets the square of the vector's length. |
74 | 74 | * |
75 | - * @return float |
|
75 | + * @return BigNumber |
|
76 | 76 | */ |
77 | 77 | public function getLengthSquared() |
78 | 78 | { |
@@ -44,7 +44,7 @@ |
||
44 | 44 | /** |
45 | 45 | * Gets the X-component from this vector. |
46 | 46 | * |
47 | - * @return float |
|
47 | + * @return \PHP\Math\BigNumber\BigNumber |
|
48 | 48 | */ |
49 | 49 | public function getZ() |
50 | 50 | { |