fix: add missing method setCallbackWrapper #1164
Annotations
8 errors
PHPStan:
src/Tracing/Cache/TraceableCacheAdapterTrait.php (in context of class Sentry/SentryBundle/Tracing/Cache/TraceableCacheAdapterForV3)#L201
PHPDoc tag @return with type TResult is not subtype of native type callable.
|
PHPStan:
src/Tracing/Cache/TraceableCacheAdapterTrait.php (in context of class Sentry/SentryBundle/Tracing/Cache/TraceableCacheAdapterForV3)#L204
Closure invoked with 1 parameter, 0 required.
|
PHPStan:
src/Tracing/Cache/TraceableCacheAdapterTrait.php (in context of class Sentry/SentryBundle/Tracing/Cache/TraceableTagAwareCacheAdapterForV3)#L201
PHPDoc tag @return with type TResult is not subtype of native type callable.
|
PHPStan:
src/Tracing/Cache/TraceableCacheAdapterTrait.php (in context of class Sentry/SentryBundle/Tracing/Cache/TraceableTagAwareCacheAdapterForV3)#L204
Closure invoked with 1 parameter, 0 required.
|
PHPStan
Process completed with exit code 1.
|
InvalidReturnType:
src/Tracing/Cache/TraceableCacheAdapterTrait.php#L199
src/Tracing/Cache/TraceableCacheAdapterTrait.php:199:24: InvalidReturnType: The declared return type 'TResult:fn-sentry\sentrybundle\tracing\cache\traceablecacheadaptertrait::setcallbackwrapper as mixed' for Sentry\SentryBundle\Tracing\Cache\TraceableCacheAdapterTrait::setCallbackWrapper is incorrect, got 'impure-Closure():TResult:fn-sentry\sentrybundle\tracing\cache\traceablecacheadaptertrait::setcallbackwrapper as mixed' (see https://psalm.dev/011)
|
TooManyArguments:
src/Tracing/Cache/TraceableCacheAdapterTrait.php#L204
src/Tracing/Cache/TraceableCacheAdapterTrait.php:204:20: TooManyArguments: Too many arguments for - expecting 0 but saw 1 (see https://psalm.dev/026)
|
Psalm
Process completed with exit code 2.
|