Add support template types #28
Annotations
10 errors
Run vendor/bin/phpstan:
src/Notification.php#L27
Method Rx\Notification::accept() with return type void returns void but should not return anything.
|
Run vendor/bin/phpstan:
src/Notification.php#L27
Parameter #1 $onNext of method Rx\Notification::doAccept() expects callable(T): void, (callable(T): void)|Rx\ObserverInterface given.
|
Run vendor/bin/phpstan:
src/Notification.php#L27
Result of method Rx\Notification::doAccept() (void) is used.
|
Run vendor/bin/phpstan:
src/Notification.php#L30
Method Rx\Notification::equals() has parameter $other with no type specified.
|
Run vendor/bin/phpstan:
src/Notification.php#L32
Cannot cast $this(Rx\Notification) to string.
|
Run vendor/bin/phpstan:
src/Notification/OnNextNotification.php#L39
Parameter #1 $ of callable callable(T): void expects T, T given.
|
Run vendor/bin/phpstan:
src/Notification/OnNextNotification.php#L47
Method Rx\Notification\OnNextNotification::equals() has parameter $other with no type specified.
|
Run vendor/bin/phpstan:
src/Observable.php#L101
Result of && is always false.
|
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.
|
The logs for this run have expired and are no longer available.
Loading