Skip to content

Commit

Permalink
Callback fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hkarlstrom committed Oct 10, 2023
1 parent 6728f43 commit 84f2c99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenApiValidation.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public function validateSecurity(string $path, string $method, ServerRequestInte
}
}
}
return $callback('error');
return $callback($request, 'error', '' ,[]);
}

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

0 comments on commit 84f2c99

Please sign in to comment.