summaryrefslogtreecommitdiff
path: root/Zend/zend_interfaces.stub.php
Commit message (Collapse)AuthorAgeFilesLines
* Generate zend class entries based on stubsMáté Kocsis2021-02-141-1/+1
| | | | Closes GH-6685
* Fix stub for Serializable::serialize()Michael Voříšek2021-01-281-1/+1
| | | | This method may also return null.
* Update ext/spl parameter namesNikita Popov2020-10-071-1/+1
| | | | Closes GH-6284.
* Add a few missing parameter types in stubsMáté Kocsis2020-07-301-6/+8
| | | | Related to GH-5627
* Introduce InternalIteratorNikita Popov2020-06-241-0/+17
| | | | | | | | | | | | | | | | | | | Userland classes that implement Traversable must do so either through Iterator or IteratorAggregate. The same requirement does not exist for internal classes: They can implement the internal get_iterator mechanism, without exposing either the Iterator or IteratorAggregate APIs. This makes them usable in get_iterator(), but incompatible with any Iterator based APIs. A lot of internal classes do this, because exposing the userland APIs is simply a lot of work. This patch alleviates this issue by providing a generic InternalIterator class, which acts as an adapater between get_iterator and Iterator, and can be easily used by many internal classes. At the same time, we extend the requirement that Traversable implies Iterator or IteratorAggregate to internal classes as well. Closes GH-5216.
* Generate method entries from stubs for Zend classesMáté Kocsis2020-04-261-0/+2
| | | | Closes GH-5459
* Add missing visibility modifiers in stubsMáté Kocsis2020-04-111-14/+14
|
* Verify that all stubs have a return typeNikita Popov2020-04-031-0/+7
|
* Define Stringable with __toString():string methodNicolas Grekas2020-03-021-0/+5
|
* Add Zend class/interface arginfo stubsChristoph M. Becker2019-10-151-0/+51
We also change `Generator::throw()` to expect a `Throwable` in the first place, and we now throw a TypeError instead of returning `false` from `Exception::getTraceAsString()`.