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:
parent
4cd6a2b532
commit
7a5ef10bfa
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user