diff --git a/src/Search.php b/src/Search.php
index 08b69669f865d22e6209b0974077726dc2fe7670..a278cb23aac13d165db9ec76602bd7072b26c6f2 100644
--- a/src/Search.php
+++ b/src/Search.php
@@ -445,7 +445,7 @@ class Search
     /**
      * Sets timeout for query execution.
      *
-     * @param $timeout
+     * @param string $timeout
      *
      * @return $this
      */
@@ -459,7 +459,7 @@ class Search
     /**
      * Sets maximum number of documents per shard.
      *
-     * @param $terminateAfter
+     * @param int $terminateAfter
      *
      * @return $this
      */