You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following error is shown here only as an example for the deleteIndex method. It also affects all other methods, as far as I can see.
According to PHPDoc, deleteIndex returns array<string, mixed>|DeletedAtResponse, but in fact sendRequest returns the response of the handleResponse method (ApiWrapper.php), which is an array and not an object. Therefore, the deleteIndex method never returns the described object of type DeletedAtResponse, making it impossible to call valid, for example, to check whether the response was successful or not.
Client
Search
Version
latest
Relevant log output
The text was updated successfully, but these errors were encountered:
Description
The following error is shown here only as an example for the
deleteIndex
method. It also affects all other methods, as far as I can see.According to PHPDoc,
deleteIndex
returnsarray<string, mixed>|DeletedAtResponse
, but in factsendRequest
returns the response of thehandleResponse
method (ApiWrapper.php), which is anarray
and not an object. Therefore, thedeleteIndex
method never returns the described object of typeDeletedAtResponse
, making it impossible to callvalid
, for example, to check whether the response was successful or not.Client
Search
Version
latest
Relevant log output
The text was updated successfully, but these errors were encountered: