File tree Expand file tree Collapse file tree 3 files changed +6
-15
lines changed Expand file tree Collapse file tree 3 files changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -184,9 +184,6 @@ public function listInvalidProperties()
184
184
if (!isset ($ this ->container ['objectID ' ]) || null === $ this ->container ['objectID ' ]) {
185
185
$ invalidProperties [] = "'objectID' can't be null " ;
186
186
}
187
- if (!isset ($ this ->container ['score ' ]) || null === $ this ->container ['score ' ]) {
188
- $ invalidProperties [] = "'score' can't be null " ;
189
- }
190
187
191
188
return $ invalidProperties ;
192
189
}
@@ -325,7 +322,7 @@ public function setDistinctSeqID($distinctSeqID)
325
322
/**
326
323
* Gets score.
327
324
*
328
- * @return float
325
+ * @return null| float
329
326
*/
330
327
public function getScore ()
331
328
{
@@ -335,7 +332,7 @@ public function getScore()
335
332
/**
336
333
* Sets score.
337
334
*
338
- * @param float $score recommendation score
335
+ * @param null| float $score recommendation score
339
336
*
340
337
* @return self
341
338
*/
Original file line number Diff line number Diff line change @@ -198,9 +198,6 @@ public function listInvalidProperties()
198
198
if (!isset ($ this ->container ['objectID ' ]) || null === $ this ->container ['objectID ' ]) {
199
199
$ invalidProperties [] = "'objectID' can't be null " ;
200
200
}
201
- if (!isset ($ this ->container ['score ' ]) || null === $ this ->container ['score ' ]) {
202
- $ invalidProperties [] = "'score' can't be null " ;
203
- }
204
201
if (!isset ($ this ->container ['facetName ' ]) || null === $ this ->container ['facetName ' ]) {
205
202
$ invalidProperties [] = "'facetName' can't be null " ;
206
203
}
@@ -345,7 +342,7 @@ public function setDistinctSeqID($distinctSeqID)
345
342
/**
346
343
* Gets score.
347
344
*
348
- * @return float
345
+ * @return null| float
349
346
*/
350
347
public function getScore ()
351
348
{
@@ -355,7 +352,7 @@ public function getScore()
355
352
/**
356
353
* Sets score.
357
354
*
358
- * @param float $score recommendation score
355
+ * @param null| float $score recommendation score
359
356
*
360
357
* @return self
361
358
*/
Original file line number Diff line number Diff line change @@ -157,9 +157,6 @@ public function listInvalidProperties()
157
157
{
158
158
$ invalidProperties = [];
159
159
160
- if (!isset ($ this ->container ['score ' ]) || null === $ this ->container ['score ' ]) {
161
- $ invalidProperties [] = "'score' can't be null " ;
162
- }
163
160
if (!isset ($ this ->container ['facetName ' ]) || null === $ this ->container ['facetName ' ]) {
164
161
$ invalidProperties [] = "'facetName' can't be null " ;
165
162
}
@@ -184,7 +181,7 @@ public function valid()
184
181
/**
185
182
* Gets score.
186
183
*
187
- * @return float
184
+ * @return null| float
188
185
*/
189
186
public function getScore ()
190
187
{
@@ -194,7 +191,7 @@ public function getScore()
194
191
/**
195
192
* Sets score.
196
193
*
197
- * @param float $score recommendation score
194
+ * @param null| float $score recommendation score
198
195
*
199
196
* @return self
200
197
*/
You can’t perform that action at this time.
0 commit comments