Skip to content

Commit af73a08

Browse files
committed
docs(php): Clément's review
1 parent df9ac22 commit af73a08

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

website/docs/clients/guides/customized-client-usage.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ $client = SearchClient::create(
117117
'<YOUR_APP_ID>'
118118
);
119119

120-
// This will append `; my user agent (optional version)` to the current value of `x-algolia-agent` for every requests
120+
// This will append `; my user agent (optional version)` to the current value of `User-Agent` for every requests
121121
Algolia\AlgoliaSearch\Support\AlgoliaAgent::addAlgoliaAgent(
122122
$client->getClientConfig()->getClientName(),
123123
"my user agent",

website/docs/clients/migration-guides/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ $client = SearchClient::create(
220220
$response = $client->operationIndex(
221221
'<SOURCE_INDEX_NAME>',
222222
[
223+
// Enum for either `copy` or `move`
223224
'operation' => 'copy', // 'move'
224225
'destination' => '<DESTINATION_INDEX_NAME>'
225226
]

website/docs/clients/migration-guides/php.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: PHP
55
| Previous | Latest | Description |
66
| -------------------- | :------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
77
| `"algolia/algoliasearch-client-php": "^3.2"` | `"algolia/algoliasearch-client-php": "^4.0@alpha"` | **During the beta phase**, the clients are available under the package 4.x.x-alpha , you can find a full list [here](https://packagist.org/packages/algolia/algoliasearch-client-php). |
8-
| `Algolia\AlgoliaSearch` | `Algolia\AlgoliaSearch\Api` | Exported clients have now the name suffixed by `Api`. |
8+
| `Algolia\AlgoliaSearch` | `Algolia\AlgoliaSearch\Api` | Exported clients have now the namespace suffixed by `Api`. |
99

1010
### Usage
1111

0 commit comments

Comments
 (0)