Skip to content

Commit 84f2c99

Browse files
committed
Callback fix
1 parent 6728f43 commit 84f2c99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OpenApiValidation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public function validateSecurity(string $path, string $method, ServerRequestInte
199199
}
200200
}
201201
}
202-
return $callback('error');
202+
return $callback($request, 'error', '' ,[]);
203203
}
204204

205205
public function validateResponseHeaders(ResponseInterface $response, string $path, string $method) : array

0 commit comments

Comments
 (0)