We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
non-negative-int
searchCutoffMs
1 parent 63eaa6a commit cbd0c25Copy full SHA for cbd0c25
src/Endpoints/Delegates/HandlesSettings.php
@@ -402,11 +402,17 @@ public function resetProximityPrecision(): Task
402
403
// Settings - searchCutoffMs
404
405
+ /**
406
+ * @return non-negative-int|null
407
+ */
408
public function getSearchCutoffMs(): ?int
409
{
410
return $this->http->get(self::PATH.'/'.$this->uid.'/settings/search-cutoff-ms');
411
}
412
413
414
+ * @param non-negative-int $value
415
416
public function updateSearchCutoffMs(int $value): Task
417
418
return Task::fromArray($this->http->put(self::PATH.'/'.$this->uid.'/settings/search-cutoff-ms', $value));
0 commit comments