From b2a4b213f72dc988a421de7a2bb1d1c108a0ea5c Mon Sep 17 00:00:00 2001 From: Robert Zondervan Date: Thu, 19 Dec 2024 10:18:58 +0100 Subject: [PATCH] Add docblock --- lib/Service/EndpointService.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/Service/EndpointService.php b/lib/Service/EndpointService.php index 1ba784e..ea77851 100644 --- a/lib/Service/EndpointService.php +++ b/lib/Service/EndpointService.php @@ -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();