diff --git a/src/Endpoints/Delegates/HandlesSettings.php b/src/Endpoints/Delegates/HandlesSettings.php index edca244a..d1c93552 100644 --- a/src/Endpoints/Delegates/HandlesSettings.php +++ b/src/Endpoints/Delegates/HandlesSettings.php @@ -345,13 +345,16 @@ public function resetNonSeparatorTokens(): array // Settings - proximityPrecision /** - * @return non-empty-string + * @return 'byWord'|'byAttribute' */ public function getProximityPrecision(): string { return $this->http->get(self::PATH.'/'.$this->uid.'/settings/proximity-precision'); } + /** + * @param 'byWord'|'byAttribute' $type + */ public function updateProximityPrecision(string $type): array { return $this->http->put(self::PATH.'/'.$this->uid.'/settings/proximity-precision', $type);