Skip to content

Commit

Permalink
Add docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzondervan committed Dec 19, 2024
1 parent 59fee5e commit b2a4b21
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/Service/EndpointService.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,14 @@ private function getHeaders(array $server, bool $proxyHeaders = false): array
);
}

/**
* Check conditions for using an endpoint.
*
* @param Endpoint $endpoint The endpoint for which the checks should be done.
* @param IRequest $request The inbound request.
* @return array
* @throws Exception
*/
private function checkConditions(Endpoint $endpoint, IRequest $request): array
{
$conditions = $endpoint->getConditions();
Expand Down

0 comments on commit b2a4b21

Please sign in to comment.