Skip to content

Commit

Permalink
Actually, abstract methods don't have a body
Browse files Browse the repository at this point in the history
  • Loading branch information
kocsismate committed Jul 19, 2021
1 parent fc0d898 commit 7a9a37d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/spl/spl_iterators.stub.php
Expand Up @@ -139,7 +139,7 @@ public function next(): void {}
abstract class FilterIterator extends IteratorIterator
{
/** @tentative-return-type */
abstract public function accept(): bool {}
abstract public function accept(): bool;

public function __construct(Iterator $iterator) {}

Expand Down
2 changes: 1 addition & 1 deletion ext/spl/spl_iterators_arginfo.h
@@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: 82763d538f01f6042b693836bfd4fd6a30fdf76c */
* Stub hash: 889a6eed2d62fbb6af168146840189d37765dbaa */

ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_EmptyIterator_current, 0, 0, never, 0)
ZEND_END_ARG_INFO()
Expand Down

0 comments on commit 7a9a37d

Please sign in to comment.