Skip to content

Commit

Permalink
fix(specs): getObject return object (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#3446

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Pierre Millot <[email protected]>
  • Loading branch information
algolia-bot and millotp committed Jul 30, 2024
1 parent fb46f26 commit 64c3ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Api/SearchClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -1263,7 +1263,7 @@ public function getLogs($offset = null, $length = null, $indexName = null, $type
* @param array $attributesToRetrieve Attributes to include with the records in the response. This is useful to reduce the size of the API response. By default, all retrievable attributes are returned. &#x60;objectID&#x60; is always retrieved. Attributes included in &#x60;unretrievableAttributes&#x60; won&#39;t be retrieved unless the request is authenticated with the admin API key. (optional)
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
*
* @return array<string, mixed>|array<string,string>
* @return array<string, mixed>|object
*/
public function getObject($indexName, $objectID, $attributesToRetrieve = null, $requestOptions = [])
{
Expand Down

0 comments on commit 64c3ab5

Please sign in to comment.