Skip to content

Commit ac4ee54

Browse files
algolia-botmillotp
andcommitted
fix(clients): mark php incompatible with 8.3.0 (#4416) (generated) [skip ci]
Co-authored-by: Pierre Millot <[email protected]>
1 parent 437c993 commit ac4ee54

File tree

186 files changed

+782
-669
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

186 files changed

+782
-669
lines changed

clients/algoliasearch-client-php/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
}
1414
],
1515
"require": {
16-
"php": ">=8.1",
16+
"php": ">=8.1 !=8.3.0",
1717
"ext-curl": "*",
1818
"ext-json": "*",
1919
"ext-mbstring": "*",

clients/algoliasearch-client-php/lib/Api/AbtestingClient.php

+12-7
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@
66

77
use Algolia\AlgoliaSearch\Algolia;
88
use Algolia\AlgoliaSearch\Configuration\AbtestingConfig;
9+
use Algolia\AlgoliaSearch\Model\Abtesting\ABTest;
10+
use Algolia\AlgoliaSearch\Model\Abtesting\ABTestResponse;
911
use Algolia\AlgoliaSearch\Model\Abtesting\AddABTestsRequest;
1012
use Algolia\AlgoliaSearch\Model\Abtesting\EstimateABTestRequest;
13+
use Algolia\AlgoliaSearch\Model\Abtesting\EstimateABTestResponse;
14+
use Algolia\AlgoliaSearch\Model\Abtesting\ListABTestsResponse;
15+
use Algolia\AlgoliaSearch\Model\Abtesting\ScheduleABTestResponse;
1116
use Algolia\AlgoliaSearch\Model\Abtesting\ScheduleABTestsRequest;
1217
use Algolia\AlgoliaSearch\ObjectSerializer;
1318
use Algolia\AlgoliaSearch\RetryStrategy\ApiWrapper;
@@ -125,7 +130,7 @@ public function setClientApiKey($apiKey)
125130
*
126131
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
127132
*
128-
* @return \Algolia\AlgoliaSearch\Model\Abtesting\ABTestResponse|array<string, mixed>
133+
* @return ABTestResponse|array<string, mixed>
129134
*/
130135
public function addABTests($addABTestsRequest, $requestOptions = [])
131136
{
@@ -311,7 +316,7 @@ public function customPut($path, $parameters = null, $body = null, $requestOptio
311316
* @param int $id Unique A/B test identifier. (required)
312317
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
313318
*
314-
* @return \Algolia\AlgoliaSearch\Model\Abtesting\ABTestResponse|array<string, mixed>
319+
* @return ABTestResponse|array<string, mixed>
315320
*/
316321
public function deleteABTest($id, $requestOptions = [])
317322
{
@@ -353,7 +358,7 @@ public function deleteABTest($id, $requestOptions = [])
353358
*
354359
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
355360
*
356-
* @return \Algolia\AlgoliaSearch\Model\Abtesting\EstimateABTestResponse|array<string, mixed>
361+
* @return array<string, mixed>|EstimateABTestResponse
357362
*/
358363
public function estimateABTest($estimateABTestRequest, $requestOptions = [])
359364
{
@@ -381,7 +386,7 @@ public function estimateABTest($estimateABTestRequest, $requestOptions = [])
381386
* @param int $id Unique A/B test identifier. (required)
382387
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
383388
*
384-
* @return \Algolia\AlgoliaSearch\Model\Abtesting\ABTest|array<string, mixed>
389+
* @return ABTest|array<string, mixed>
385390
*/
386391
public function getABTest($id, $requestOptions = [])
387392
{
@@ -421,7 +426,7 @@ public function getABTest($id, $requestOptions = [])
421426
* @param string $indexSuffix Index name suffix. Only A/B tests for indices ending with this string are included in the response. (optional)
422427
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
423428
*
424-
* @return \Algolia\AlgoliaSearch\Model\Abtesting\ListABTestsResponse|array<string, mixed>
429+
* @return array<string, mixed>|ListABTestsResponse
425430
*/
426431
public function listABTests($offset = null, $limit = null, $indexPrefix = null, $indexSuffix = null, $requestOptions = [])
427432
{
@@ -465,7 +470,7 @@ public function listABTests($offset = null, $limit = null, $indexPrefix = null,
465470
*
466471
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
467472
*
468-
* @return \Algolia\AlgoliaSearch\Model\Abtesting\ScheduleABTestResponse|array<string, mixed>
473+
* @return array<string, mixed>|ScheduleABTestResponse
469474
*/
470475
public function scheduleABTest($scheduleABTestsRequest, $requestOptions = [])
471476
{
@@ -493,7 +498,7 @@ public function scheduleABTest($scheduleABTestsRequest, $requestOptions = [])
493498
* @param int $id Unique A/B test identifier. (required)
494499
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
495500
*
496-
* @return \Algolia\AlgoliaSearch\Model\Abtesting\ABTestResponse|array<string, mixed>
501+
* @return ABTestResponse|array<string, mixed>
497502
*/
498503
public function stopABTest($id, $requestOptions = [])
499504
{

0 commit comments

Comments
 (0)