- Made nullable parameter types explicit (PHP 8.4 compatibility)
- Reverted generic annotations on promise - as
then
returns another promise, there seems no way to properly document this.
- Fixed PHPDoc for
wait()
andthen()
'sonRejected
callable
- Generic annotations
- Test with PHP 7.1, 7.2, 7.3, 7.4 and 8.0
- PHP 5 and 7.0 support
- Fixed PHPDoc for
Promise::then
- PSR-7 dependency
- Tests for full coverage
- Updated package files
- Clarified wait method behavior
- Contributing guide moved to the documentation
- Fulfilled and Rejected promise implementations
- Promise interface