Skip to content

Commit 4b09e08

Browse files
Fix
1 parent 813d7e1 commit 4b09e08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ds/ds.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -762,9 +762,9 @@ public function sorted(?callable $comparator = null): Vector {}
762762
* <b>Note:</b> Arrays and objects are considered equal to zero when
763763
* calculating the sum.
764764
* @link https://www.php.net/manual/en/ds-vector.sum.php
765-
* @return float
765+
* @return float|int
766766
*/
767-
public function sum(): float {}
767+
public function sum(): float|int {}
768768

769769
/**
770770
* Adds values to the front of the sequence, moving all the current

0 commit comments

Comments
 (0)