Fix HookManagerInterface annotation #2773
Annotations
3 errors
Post Run gacts/run-and-post-run@v1
One or more steps failed
|
Run Psalm:
examples/src/ExampleInstrumentation.php#L30
examples/src/ExampleInstrumentation.php:30:13: InvalidArgument: Argument 3 of OpenTelemetry\API\Instrumentation\AutoInstrumentation\HookManagerInterface::hook expects Closure(null|object|string, array<array-key, mixed>, null|string, string, null|string, int|null):array<array-key, mixed>|null, but impure-Closure():void provided (see https://psalm.dev/004)
|
Run Psalm
Process completed with exit code 2.
|
Loading