Skip to content

Commit 4c58149

Browse files
authored
docs: add inline PHPDoc with endpoint var type (#1405)
1 parent 30ea6e1 commit 4c58149

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

util/template/endpoint-function

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
{
44
:extract
55
$endpointBuilder = $this->endpoints;
6+
/** @var \Elasticsearch\Endpoints\:EndpointClass $endpoint */
67
$endpoint = $endpointBuilder(':EndpointClass');
78
$endpoint->setParams($params);
89
:setparam

util/template/endpoint-function-bool

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
$params['client']['verbose'] = true;
77

88
$endpointBuilder = $this->endpoints;
9+
/** @var \Elasticsearch\Endpoints\:EndpointClass $endpoint */
910
$endpoint = $endpointBuilder(':EndpointClass');
1011
$endpoint->setParams($params);
1112
:setparam

0 commit comments

Comments
 (0)