Skip to content

Commit 1fd0b37

Browse files
algolia-botmillotp
andcommitted
fix(specs): userData is any type (generated)
algolia/api-clients-automation#4702 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent db59ac9 commit 1fd0b37

File tree

9 files changed

+27
-27
lines changed

9 files changed

+27
-27
lines changed

lib/Model/Composition/SearchResultsItem.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class SearchResultsItem extends AbstractModel implements ModelInterface, \ArrayA
4343
'renderingContent' => '\Algolia\AlgoliaSearch\Model\Composition\RenderingContent',
4444
'serverTimeMS' => 'int',
4545
'serverUsed' => 'string',
46-
'userData' => 'object',
46+
'userData' => 'mixed',
4747
'queryID' => 'string',
4848
'automaticInsights' => 'bool',
4949
'page' => 'int',
@@ -1012,7 +1012,7 @@ public function setServerUsed($serverUsed)
10121012
/**
10131013
* Gets userData.
10141014
*
1015-
* @return null|object
1015+
* @return null|mixed
10161016
*/
10171017
public function getUserData()
10181018
{
@@ -1022,7 +1022,7 @@ public function getUserData()
10221022
/**
10231023
* Sets userData.
10241024
*
1025-
* @param null|object $userData An object with custom data. You can store up to 32kB as custom data.
1025+
* @param null|mixed $userData An object with custom data. You can store up to 32kB as custom data.
10261026
*
10271027
* @return self
10281028
*/

lib/Model/Recommend/FallbackParams.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class FallbackParams extends AbstractModel implements ModelInterface, \ArrayAcce
6363
'numericAttributesForFiltering' => 'string[]',
6464
'separatorsToIndex' => 'string',
6565
'searchableAttributes' => 'string[]',
66-
'userData' => 'object',
66+
'userData' => 'mixed',
6767
'customNormalization' => 'array<string,array<string,string>>',
6868
'attributeForDistinct' => 'string',
6969
'maxFacetHits' => 'int',
@@ -1874,7 +1874,7 @@ public function setSearchableAttributes($searchableAttributes)
18741874
/**
18751875
* Gets userData.
18761876
*
1877-
* @return null|object
1877+
* @return null|mixed
18781878
*/
18791879
public function getUserData()
18801880
{
@@ -1884,7 +1884,7 @@ public function getUserData()
18841884
/**
18851885
* Sets userData.
18861886
*
1887-
* @param null|object $userData An object with custom data. You can store up to 32kB as custom data.
1887+
* @param null|mixed $userData An object with custom data. You can store up to 32kB as custom data.
18881888
*
18891889
* @return self
18901890
*/

lib/Model/Recommend/RecommendSearchParams.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class RecommendSearchParams extends AbstractModel implements ModelInterface, \Ar
6565
'numericAttributesForFiltering' => 'string[]',
6666
'separatorsToIndex' => 'string',
6767
'searchableAttributes' => 'string[]',
68-
'userData' => 'object',
68+
'userData' => 'mixed',
6969
'customNormalization' => 'array<string,array<string,string>>',
7070
'attributeForDistinct' => 'string',
7171
'maxFacetHits' => 'int',
@@ -1876,7 +1876,7 @@ public function setSearchableAttributes($searchableAttributes)
18761876
/**
18771877
* Gets userData.
18781878
*
1879-
* @return null|object
1879+
* @return null|mixed
18801880
*/
18811881
public function getUserData()
18821882
{
@@ -1886,7 +1886,7 @@ public function getUserData()
18861886
/**
18871887
* Sets userData.
18881888
*
1889-
* @param null|object $userData An object with custom data. You can store up to 32kB as custom data.
1889+
* @param null|mixed $userData An object with custom data. You can store up to 32kB as custom data.
18901890
*
18911891
* @return self
18921892
*/

lib/Model/Recommend/RecommendationsResults.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class RecommendationsResults extends AbstractModel implements ModelInterface, \A
4343
'renderingContent' => '\Algolia\AlgoliaSearch\Model\Recommend\RenderingContent',
4444
'serverTimeMS' => 'int',
4545
'serverUsed' => 'string',
46-
'userData' => 'object',
46+
'userData' => 'mixed',
4747
'queryID' => 'string',
4848
'automaticInsights' => 'bool',
4949
'page' => 'int',
@@ -967,7 +967,7 @@ public function setServerUsed($serverUsed)
967967
/**
968968
* Gets userData.
969969
*
970-
* @return null|object
970+
* @return null|mixed
971971
*/
972972
public function getUserData()
973973
{
@@ -977,7 +977,7 @@ public function getUserData()
977977
/**
978978
* Sets userData.
979979
*
980-
* @param null|object $userData An object with custom data. You can store up to 32kB as custom data.
980+
* @param null|mixed $userData An object with custom data. You can store up to 32kB as custom data.
981981
*
982982
* @return self
983983
*/

lib/Model/Search/BrowseResponse.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class BrowseResponse extends AbstractModel implements ModelInterface, \ArrayAcce
4343
'renderingContent' => '\Algolia\AlgoliaSearch\Model\Search\RenderingContent',
4444
'serverTimeMS' => 'int',
4545
'serverUsed' => 'string',
46-
'userData' => 'object',
46+
'userData' => 'mixed',
4747
'queryID' => 'string',
4848
'automaticInsights' => 'bool',
4949
'page' => 'int',
@@ -997,7 +997,7 @@ public function setServerUsed($serverUsed)
997997
/**
998998
* Gets userData.
999999
*
1000-
* @return null|object
1000+
* @return null|mixed
10011001
*/
10021002
public function getUserData()
10031003
{
@@ -1007,7 +1007,7 @@ public function getUserData()
10071007
/**
10081008
* Sets userData.
10091009
*
1010-
* @param null|object $userData An object with custom data. You can store up to 32kB as custom data.
1010+
* @param null|mixed $userData An object with custom data. You can store up to 32kB as custom data.
10111011
*
10121012
* @return self
10131013
*/

lib/Model/Search/IndexSettings.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class IndexSettings extends AbstractModel implements ModelInterface, \ArrayAcces
3636
'numericAttributesForFiltering' => 'string[]',
3737
'separatorsToIndex' => 'string',
3838
'searchableAttributes' => 'string[]',
39-
'userData' => 'object',
39+
'userData' => 'mixed',
4040
'customNormalization' => 'array<string,array<string,string>>',
4141
'attributeForDistinct' => 'string',
4242
'maxFacetHits' => 'int',
@@ -972,7 +972,7 @@ public function setSearchableAttributes($searchableAttributes)
972972
/**
973973
* Gets userData.
974974
*
975-
* @return null|object
975+
* @return null|mixed
976976
*/
977977
public function getUserData()
978978
{
@@ -982,7 +982,7 @@ public function getUserData()
982982
/**
983983
* Sets userData.
984984
*
985-
* @param null|object $userData An object with custom data. You can store up to 32kB as custom data.
985+
* @param null|mixed $userData An object with custom data. You can store up to 32kB as custom data.
986986
*
987987
* @return self
988988
*/

lib/Model/Search/SearchResponse.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class SearchResponse extends AbstractModel implements ModelInterface, \ArrayAcce
4343
'renderingContent' => '\Algolia\AlgoliaSearch\Model\Search\RenderingContent',
4444
'serverTimeMS' => 'int',
4545
'serverUsed' => 'string',
46-
'userData' => 'object',
46+
'userData' => 'mixed',
4747
'queryID' => 'string',
4848
'automaticInsights' => 'bool',
4949
'page' => 'int',
@@ -989,7 +989,7 @@ public function setServerUsed($serverUsed)
989989
/**
990990
* Gets userData.
991991
*
992-
* @return null|object
992+
* @return null|mixed
993993
*/
994994
public function getUserData()
995995
{
@@ -999,7 +999,7 @@ public function getUserData()
999999
/**
10001000
* Sets userData.
10011001
*
1002-
* @param null|object $userData An object with custom data. You can store up to 32kB as custom data.
1002+
* @param null|mixed $userData An object with custom data. You can store up to 32kB as custom data.
10031003
*
10041004
* @return self
10051005
*/

lib/Model/Search/SearchResult.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class SearchResult extends AbstractModel implements ModelInterface, \ArrayAccess
4343
'renderingContent' => '\Algolia\AlgoliaSearch\Model\Search\RenderingContent',
4444
'serverTimeMS' => 'int',
4545
'serverUsed' => 'string',
46-
'userData' => 'object',
46+
'userData' => 'mixed',
4747
'queryID' => 'string',
4848
'automaticInsights' => 'bool',
4949
'page' => 'int',
@@ -999,7 +999,7 @@ public function setServerUsed($serverUsed)
999999
/**
10001000
* Gets userData.
10011001
*
1002-
* @return null|object
1002+
* @return null|mixed
10031003
*/
10041004
public function getUserData()
10051005
{
@@ -1009,7 +1009,7 @@ public function getUserData()
10091009
/**
10101010
* Sets userData.
10111011
*
1012-
* @param null|object $userData An object with custom data. You can store up to 32kB as custom data.
1012+
* @param null|mixed $userData An object with custom data. You can store up to 32kB as custom data.
10131013
*
10141014
* @return self
10151015
*/

lib/Model/Search/SettingsResponse.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class SettingsResponse extends AbstractModel implements ModelInterface, \ArrayAc
3434
'numericAttributesForFiltering' => 'string[]',
3535
'separatorsToIndex' => 'string',
3636
'searchableAttributes' => 'string[]',
37-
'userData' => 'object',
37+
'userData' => 'mixed',
3838
'customNormalization' => 'array<string,array<string,string>>',
3939
'attributeForDistinct' => 'string',
4040
'maxFacetHits' => 'int',
@@ -978,7 +978,7 @@ public function setSearchableAttributes($searchableAttributes)
978978
/**
979979
* Gets userData.
980980
*
981-
* @return null|object
981+
* @return null|mixed
982982
*/
983983
public function getUserData()
984984
{
@@ -988,7 +988,7 @@ public function getUserData()
988988
/**
989989
* Sets userData.
990990
*
991-
* @param null|object $userData An object with custom data. You can store up to 32kB as custom data.
991+
* @param null|mixed $userData An object with custom data. You can store up to 32kB as custom data.
992992
*
993993
* @return self
994994
*/

0 commit comments

Comments
 (0)