Add support template types #23
Annotations
10 errors
Run vendor/bin/phpstan:
src/Observable.php#L97
Method Rx\Observable::subscribe() has parameter $onNextOrObserver with no type specified.
|
Run vendor/bin/phpstan:
src/Observable.php#L97
PHPDoc tag @param has invalid value ((callable(T))|ObserverInterface|null $onNextOrObserver): Unexpected token "(", expected ')' at offset 28
|
Run vendor/bin/phpstan:
src/Observable.php#L115
Cannot call method onError() on Rx\Observer\CallbackObserver|null.
|
Run vendor/bin/phpstan:
src/Observable.php#L174
PHPDoc tag @param for parameter $scheduler with type Rx\SchedulerInterface|null is not subtype of native type Rx\AsyncSchedulerInterface|null.
|
Run vendor/bin/phpstan:
src/Observable.php#L174
Template type T is declared as covariant, but occurs in invariant position in return type of method Rx\Observable::interval().
|
Run vendor/bin/phpstan:
src/Observable.php#L218
Template type T is declared as covariant, but occurs in invariant position in return type of method Rx\Observable::empty().
|
Run vendor/bin/phpstan:
src/Observable.php#L230
Template type T is declared as covariant, but occurs in invariant position in return type of method Rx\Observable::emptyObservable().
|
Run vendor/bin/phpstan:
src/Observable.php#L244
Template type T is declared as covariant, but occurs in invariant position in return type of method Rx\Observable::never().
|
Run vendor/bin/phpstan:
src/Observable.php#L246
Method Rx\Observable::never() should return Rx\Observable\NeverObservable<T> but returns Rx\Observable\NeverObservable<mixed>.
|
Run vendor/bin/phpstan:
src/Observable.php#L260
Template type T is declared as covariant, but occurs in invariant position in return type of method Rx\Observable::error().
|
The logs for this run have expired and are no longer available.
Loading