Add support template types #27
Annotations
10 errors
Run vendor/bin/phpstan:
src/Notification.php#L19
PHPDoc tag @param for parameter $observerOrOnNext with type (callable)|Rx\ObserverInterface is not subtype of native type callable.
|
Run vendor/bin/phpstan:
src/Notification.php#L19
Template type T of method Rx\Notification::accept() is not referenced in a parameter.
|
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 #2 $onError of method Rx\Notification::doAccept() expects callable(Throwable): void, (callable(Throwable): void)|null given.
|
Run vendor/bin/phpstan:
src/Notification.php#L27
Parameter #3 $onCompleted of method Rx\Notification::doAccept() expects callable(): void, (callable(): void)|null 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.
|
The logs for this run have expired and are no longer available.
Loading