Skip to content

Commit

Permalink
Align OpenTelemetry\API\Instrumentation\AutoInstrumentation\HookManag…
Browse files Browse the repository at this point in the history
…erInterface::hook postHook Closure signature with OpenTelemetry\Instrumentation\hook.
  • Loading branch information
ChrisLightfootWild committed Oct 2, 2024
1 parent 0ae2723 commit 469b476
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@

interface HookManagerInterface
{

/**
* @param Closure(object|string|null,array,string,string,string|null,int|null):void|null $preHook
* @param Closure(object|string|null,array,mixed,Throwable|null,string,string,string|null,int|null):void|null $postHook
* @param Closure(object|string|null,array,mixed,Throwable|null):void|null $postHook
*/
public function hook(?string $class, string $function, ?Closure $preHook = null, ?Closure $postHook = null): void;
}

0 comments on commit 469b476

Please sign in to comment.