Skip to content

Commit e689a06

Browse files
committed
Webhook needs headers for schemas checks to ensure they map it to the correct one
1 parent 96729b2 commit e689a06

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/OpenAPI/WebHookInterface.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,10 @@
44

55
interface WebHookInterface
66
{
7-
public function resolve(array $data) : string;
7+
/**
8+
* @param array<string, string> $headers
9+
* @param array<mixed> $data
10+
* @return string
11+
*/
12+
public function resolve(array $headers, array $data) : string;
813
}

0 commit comments

Comments
 (0)