diff --git a/src/Search.php b/src/Search.php
index b28aa04846c7d1b5e65ece442dfbddf95c3dba58..9760d652aa626f4ff07cc14838b6cb973de5a43a 100644
--- a/src/Search.php
+++ b/src/Search.php
@@ -444,7 +444,7 @@ class Search
     /**
      * Sets timeout for query execution.
      *
-     * @param $timeout
+     * @param string $timeout
      *
      * @return $this
      */
@@ -458,7 +458,7 @@ class Search
     /**
      * Sets maximum number of documents per shard.
      *
-     * @param $terminateAfter
+     * @param int $terminateAfter
      *
      * @return $this
      */