History log of /PHP-8.1/ext/spl/spl_observer.stub.php (Results 1 – 14 of 14)
Revision Date Author Comments
# 24be11f6 28-Dec-2021 Máté Kocsis

Remove bogus type of $object param in SplObjectStorage::offsetSet()

This parameter definitely only accepts objects, so we shouldn't explicitly
mark it as mixed. Looks like I accidentally

Remove bogus type of $object param in SplObjectStorage::offsetSet()

This parameter definitely only accepts objects, so we shouldn't explicitly
mark it as mixed. Looks like I accidentally added this type when adding
the tentative return type.

Closes GH-7840

show more ...


# 6d805ed2 13-Jul-2021 Máté Kocsis

Declare tentative return types for ext/spl - part 2

Closes GH-7235


# 42cb5b5f 14-Jul-2021 Nikita Popov

Throw from MultipleIterator::key/current() for invalid iterator

Calling current()/key() on an invalid iterator is an error
condition. Throw instead of returning false.


# d618ed0a 14-Jul-2021 Máté Kocsis

Fix some return types in ext/spl

Closes GH-7237


# 4f4c031f 18-Feb-2021 Máté Kocsis

Generate ext/spl class entries from stubs

Closes GH-6709


# a9efcb15 18-Jan-2021 Nikita Popov

gen_stub: Also verify implementation-alias

This makes --verify also check @implementation-alias. Failures are
ignored using @no-verify instead. Some mistakes have been made that
woul

gen_stub: Also verify implementation-alias

This makes --verify also check @implementation-alias. Failures are
ignored using @no-verify instead. Some mistakes have been made that
would have been caught by this...

Closes GH-6615.

show more ...


# 68195bd4 06-Oct-2020 Nikita Popov

Update ext/spl parameter names

Closes GH-6284.


# 64af12d1 19-Sep-2020 Máté Kocsis

Add support for `@implementation-alias` in stubs

Closes GH-6170


# 8107a1da 04-Sep-2020 Máté Kocsis

Use ZPP instead of custom type checks

We can add these types as a native type declaration to stubs as a side-effect. Closes GH-6068


# f7fbc633 14-Aug-2020 Máté Kocsis

Add more precise type info for stubs

Closes GH-6005


# f3d6203b 13-Aug-2020 Nikita Popov

Use a dedicated method for MultipleIterator::countIterators()

This method has a different signature from
SplObjectStorage::count(), so don't share implementations.


# d7f7080b 25-Apr-2020 Máté Kocsis

Generate methods entries from stubs for ext/spl

Closes GH-5458


# c3554eb2 16-Mar-2020 Máté Kocsis

Fix ZPP of MultipleIterator::detachIterator() and MultipleIterator::containsIterator()


# 04a44e1f 14-Mar-2020 Máté Kocsis

Add stubs for SplObjectStorage and MultipleIterator

Closes GH-5267