Skip to content

Commit 69f6a53

Browse files
algolia-botkai687
andcommitted
fix(specs): add type: object to 3 schemas (generated)
algolia/api-clients-automation#4392 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Kai Welke <[email protected]>
1 parent ddc6ab3 commit 69f6a53

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

lib/Model/Recommend/RecommendationsRequest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class RecommendationsRequest extends AbstractModel implements ModelInterface, \A
2727
'model' => '\Algolia\AlgoliaSearch\Model\Recommend\LookingSimilarModel',
2828
'objectID' => 'string',
2929
'fallbackParameters' => '\Algolia\AlgoliaSearch\Model\Recommend\FallbackParams',
30-
'facetName' => 'mixed',
30+
'facetName' => 'string',
3131
'facetValue' => 'string',
3232
];
3333

@@ -404,7 +404,7 @@ public function setFallbackParameters($fallbackParameters)
404404
/**
405405
* Gets facetName.
406406
*
407-
* @return mixed
407+
* @return string
408408
*/
409409
public function getFacetName()
410410
{
@@ -414,7 +414,7 @@ public function getFacetName()
414414
/**
415415
* Sets facetName.
416416
*
417-
* @param mixed $facetName facet attribute for which to retrieve trending facet values
417+
* @param string $facetName facet attribute for which to retrieve trending facet values
418418
*
419419
* @return self
420420
*/

lib/Model/Recommend/TrendingFacetsQuery.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class TrendingFacetsQuery extends AbstractModel implements ModelInterface, \Arra
2424
'threshold' => 'float',
2525
'maxRecommendations' => 'int',
2626
'queryParameters' => '\Algolia\AlgoliaSearch\Model\Recommend\RecommendSearchParams',
27-
'facetName' => 'mixed',
27+
'facetName' => 'string',
2828
'model' => '\Algolia\AlgoliaSearch\Model\Recommend\TrendingFacetsModel',
2929
'fallbackParameters' => '\Algolia\AlgoliaSearch\Model\Recommend\FallbackParams',
3030
];
@@ -313,7 +313,7 @@ public function setQueryParameters($queryParameters)
313313
/**
314314
* Gets facetName.
315315
*
316-
* @return mixed
316+
* @return string
317317
*/
318318
public function getFacetName()
319319
{
@@ -323,7 +323,7 @@ public function getFacetName()
323323
/**
324324
* Sets facetName.
325325
*
326-
* @param mixed $facetName facet attribute for which to retrieve trending facet values
326+
* @param string $facetName facet attribute for which to retrieve trending facet values
327327
*
328328
* @return self
329329
*/

lib/Model/Search/Consequence.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Consequence extends AbstractModel implements ModelInterface, \ArrayAccess,
2626
'promote' => '\Algolia\AlgoliaSearch\Model\Search\Promote[]',
2727
'filterPromotes' => 'bool',
2828
'hide' => '\Algolia\AlgoliaSearch\Model\Search\ConsequenceHide[]',
29-
'userData' => 'mixed',
29+
'userData' => 'object',
3030
];
3131

3232
/**
@@ -284,7 +284,7 @@ public function setHide($hide)
284284
/**
285285
* Gets userData.
286286
*
287-
* @return null|mixed
287+
* @return null|object
288288
*/
289289
public function getUserData()
290290
{
@@ -294,7 +294,7 @@ public function getUserData()
294294
/**
295295
* Sets userData.
296296
*
297-
* @param null|mixed $userData A JSON object with custom data that will be appended to the `userData` array in the response. This object isn't interpreted by the API and is limited to 1&nbsp;kB of minified JSON.
297+
* @param null|object $userData A JSON object with custom data that will be appended to the `userData` array in the response. This object isn't interpreted by the API and is limited to 1&nbsp;kB of minified JSON.
298298
*
299299
* @return self
300300
*/

0 commit comments

Comments
 (0)