Skip to content

Commit

Permalink
Update Search.php (#7)
Browse files Browse the repository at this point in the history
Change annotation for setSource method reported in ongr-io#254
  • Loading branch information
event15 authored Feb 17, 2021
1 parent 06b431b commit e8a5d53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -518,15 +518,15 @@ public function setSize($size)
}

/**
* @return bool
* @return array|bool|string
*/
public function isSource()
{
return $this->source;
}

/**
* @param bool $source
* @param array|bool|string $source
*
* @return $this
*/
Expand Down

0 comments on commit e8a5d53

Please sign in to comment.