Skip to content

Commit

Permalink
Fix some PHPDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
franmomu committed Jun 24, 2022
1 parent 6834664 commit c361bf6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Bulk/Action.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Action
protected $_metadata = [];

/**
* @var array
* @var array|string
*/
protected $_source = [];

Expand Down
2 changes: 1 addition & 1 deletion src/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Document extends AbstractUpdateAction
/**
* Document data.
*
* @var array Document data
* @var array|string Document data
*/
protected $_data = [];

Expand Down
2 changes: 1 addition & 1 deletion src/Index/Recovery.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function refresh(): self
}

/**
* @return mixed
* @return array
*/
protected function getRecoveryData()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Transport/AbstractTransport.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ abstract public function exec(Request $request, array $params): Response;
* BOOL values true|false should be sanityzed and passed to Elasticsearch
* as string.
*
* @return mixed
* @return array
*/
public function sanityzeQueryStringBool(array $query)
{
Expand Down

0 comments on commit c361bf6

Please sign in to comment.