From 50f9b9f9ff2fce9f0ff167f484ecbe2fae7ae559 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Wo=C5=9B?= Date: Wed, 8 Jul 2020 21:52:03 +0200 Subject: [PATCH] Update Search.php Change annotation for setSource method reported in https://github.com/ongr-io/ElasticsearchDSL/issues/254 --- src/Search.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Search.php b/src/Search.php index da8372b0..407848d1 100644 --- a/src/Search.php +++ b/src/Search.php @@ -63,7 +63,7 @@ class Search * operations return the contents of the _source field unless you have used the * stored_fields parameter or if the _source field is disabled. * - * @var bool + * @var array|bool|string */ private $source; @@ -518,7 +518,7 @@ public function setSize($size) } /** - * @return bool + * @return array|bool|string */ public function isSource() { @@ -526,7 +526,7 @@ public function isSource() } /** - * @param bool $source + * @param array|bool|string $source * * @return $this */