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

Fix invalid class/method declaration in stub

This commit is contained in:
sasezaki 2021-10-05 21:41:27 +09:00
parent 1a2ac657f8
commit 014543b0ec

View File

@ -388,7 +388,7 @@ class SplQueue extends SplDoublyLinkedList {
* @template TValue
* @template-implements Iterator<int, TValue>
*/
class SplHeap implements Iterator, Countable {
abstract class SplHeap implements Iterator, Countable {
public function __construct() {}
/**
@ -401,7 +401,7 @@ class SplHeap implements Iterator, Countable {
*
* @since 5.3.0
*/
protected abstract function compare($value1, $value2): int {}
protected abstract function compare($value1, $value2): int;
/**
* Counts the number of elements in the heap