[3.x] Add template annotations #94
Annotations
4 errors
PHPStan (PHP 7.1):
src/PromiseInterface.php#L38
PHPDoc tag @param has invalid value (?(callable(T): (Fulfilled|void)) $onFulfilled): Unexpected token "(", expected type at offset 1165
|
PHPStan (PHP 7.1):
src/PromiseInterface.php#L38
Template type Fulfilled of method React\Promise\PromiseInterface::then() is not referenced in a parameter.
|
PHPStan (PHP 7.1):
tests/types/then.php#L15
Expected type bool|null, actual: mixed
|
PHPStan (PHP 7.1)
Process completed with exit code 1.
|