@@ -14,9 +14,9 @@ class Multi
1414 *
1515 * [x₁ + y₁, x₂ + y₂, ... ]
1616 *
17- * @param array<number > ...$arrays Two or more arrays of numbers
17+ * @param array<int|float > ...$arrays Two or more arrays of numbers
1818 *
19- * @return array<number >
19+ * @return array<int|float >
2020 *
2121 * @throws Exception\BadDataException
2222 */
@@ -42,9 +42,9 @@ public static function add(array ...$arrays): array
4242 *
4343 * [x₁ - y₁, x₂ - y₂, ... ]
4444 *
45- * @param array<number > ...$arrays Two or more arrays of numbers
45+ * @param array<int|float > ...$arrays Two or more arrays of numbers
4646 *
47- * @return array<number >
47+ * @return array<int|float >
4848 *
4949 * @throws Exception\BadDataException
5050 */
@@ -75,9 +75,9 @@ function ($x) {
7575 *
7676 * [x₁ * y₁, x₂ * y₂, ... ]
7777 *
78- * @param array<number > ...$arrays Two or more arrays of numbers
78+ * @param array<int|float > ...$arrays Two or more arrays of numbers
7979 *
80- * @return array<number >
80+ * @return array<int|float >
8181 *
8282 * @throws Exception\BadDataException
8383 */
@@ -103,7 +103,7 @@ public static function multiply(array ...$arrays): array
103103 *
104104 * [x₁ / y₁, x₂ / y₂, ... ]
105105 *
106- * @param array<number > ...$arrays Two or more arrays of numbers
106+ * @param array<int|float > ...$arrays Two or more arrays of numbers
107107 *
108108 * @return array<float>
109109 *
@@ -136,9 +136,9 @@ function ($x) {
136136 *
137137 * [max(x₁, y₁), max(x₂, y₂), ... ]
138138 *
139- * @param array<number > ...$arrays Two or more arrays of numbers
139+ * @param array<int|float > ...$arrays Two or more arrays of numbers
140140 *
141- * @return array<number >
141+ * @return array<int|float >
142142 *
143143 * @throws Exception\BadDataException
144144 */
@@ -169,9 +169,9 @@ function ($x) {
169169 *
170170 * [max(x₁, y₁), max(x₂, y₂), ... ]
171171 *
172- * @param array<number > ...$arrays Two or more arrays of numbers
172+ * @param array<int|float > ...$arrays Two or more arrays of numbers
173173 *
174- * @return array<number >
174+ * @return array<int|float >
175175 *
176176 * @throws Exception\BadDataException
177177 */
0 commit comments