Skip to content

Commit 7a9a37d

Browse files
committed
Actually, abstract methods don't have a body
1 parent fc0d898 commit 7a9a37d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/spl/spl_iterators.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function next(): void {}
139139
abstract class FilterIterator extends IteratorIterator
140140
{
141141
/** @tentative-return-type */
142-
abstract public function accept(): bool {}
142+
abstract public function accept(): bool;
143143

144144
public function __construct(Iterator $iterator) {}
145145

ext/spl/spl_iterators_arginfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 82763d538f01f6042b693836bfd4fd6a30fdf76c */
2+
* Stub hash: 889a6eed2d62fbb6af168146840189d37765dbaa */
33

44
ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_EmptyIterator_current, 0, 0, never, 0)
55
ZEND_END_ARG_INFO()

0 commit comments

Comments
 (0)