From 63e18f9709731637d0c26ba471b4b28ffe89405b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gytis=20=C5=A0k=C4=97ma?= Date: Mon, 27 May 2024 23:19:59 +0300 Subject: [PATCH] docs: add inline PHPDoc with endpoint var type --- util/template/endpoint-function | 1 + util/template/endpoint-function-bool | 1 + 2 files changed, 2 insertions(+) diff --git a/util/template/endpoint-function b/util/template/endpoint-function index d5d0a0541..2187877ab 100644 --- a/util/template/endpoint-function +++ b/util/template/endpoint-function @@ -3,6 +3,7 @@ { :extract $endpointBuilder = $this->endpoints; + /** @var \Elasticsearch\Endpoints\:EndpointClass $endpoint */ $endpoint = $endpointBuilder(':EndpointClass'); $endpoint->setParams($params); :setparam diff --git a/util/template/endpoint-function-bool b/util/template/endpoint-function-bool index d4e6945d9..51727c704 100644 --- a/util/template/endpoint-function-bool +++ b/util/template/endpoint-function-bool @@ -6,6 +6,7 @@ $params['client']['verbose'] = true; $endpointBuilder = $this->endpoints; + /** @var \Elasticsearch\Endpoints\:EndpointClass $endpoint */ $endpoint = $endpointBuilder(':EndpointClass'); $endpoint->setParams($params); :setparam