diff --git a/src/Search.php b/src/Search.php index 826f17965..2fa431db5 100644 --- a/src/Search.php +++ b/src/Search.php @@ -318,6 +318,7 @@ public function search($query = '', ?array $options = null, string $method = Req * @throws ResponseException * * @return int|ResultSet + * @phpstan-return ($fullResult is false ? int : ResultSet) */ public function count($query = '', bool $fullResult = false, string $method = Request::POST) {