1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Fix #4578 - replace number type in ext-ds stubs

This commit is contained in:
Matt Brown 2020-11-16 21:50:23 -05:00 committed by Daniil Gentili
parent 4cd6a2b532
commit 7a5ef10bfa
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -98,7 +98,7 @@ final class Deque implements Sequence
}
/**
* @return number
* @return float|int
* @psalm-mutation-free
*/
public function sum()
@ -631,7 +631,7 @@ interface Sequence extends Collection, ArrayAccess
public function capacity(): int;
/**
* @return number
* @return float|int
* @psalm-mutation-free
*/
public function sum();
@ -836,7 +836,7 @@ final class Vector implements Sequence
}
/**
* @return number
* @return float|int
* @psalm-mutation-free
*/
public function sum()