Skip to content

Commit

Permalink
docs: add inline PHPDoc with endpoint var type
Browse files Browse the repository at this point in the history
  • Loading branch information
gskema committed May 27, 2024
1 parent 2d30223 commit 63e18f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions util/template/endpoint-function
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{
:extract
$endpointBuilder = $this->endpoints;
/** @var \Elasticsearch\Endpoints\:EndpointClass $endpoint */
$endpoint = $endpointBuilder(':EndpointClass');
$endpoint->setParams($params);
:setparam
Expand Down
1 change: 1 addition & 0 deletions util/template/endpoint-function-bool
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
$params['client']['verbose'] = true;

$endpointBuilder = $this->endpoints;
/** @var \Elasticsearch\Endpoints\:EndpointClass $endpoint */
$endpoint = $endpointBuilder(':EndpointClass');
$endpoint->setParams($params);
:setparam
Expand Down

0 comments on commit 63e18f9

Please sign in to comment.