@@ -133,7 +133,7 @@ |
||
| 133 | 133 | $types = is_array($types) ? $types : array($types); |
| 134 | 134 | |
| 135 | 135 | $types = array_map( |
| 136 | - function ($type) { |
|
| 136 | + function($type) { |
|
| 137 | 137 | if ($type instanceof Type) { |
| 138 | 138 | $type = $type->getName(); |
| 139 | 139 | } |
@@ -31,7 +31,6 @@ discard block |
||
| 31 | 31 | * @param array $ids Document ids |
| 32 | 32 | * |
| 33 | 33 | * @deprecated Option "ids" deprecated as of ES 2.0.0-beta1 and will be removed in further Elastica releases. Use "like" instead. |
| 34 | - |
|
| 35 | 34 | * @return \Elastica\Query\MoreLikeThis Current object |
| 36 | 35 | */ |
| 37 | 36 | public function setIds(array $ids) |
@@ -57,7 +56,6 @@ discard block |
||
| 57 | 56 | * @param string $likeText |
| 58 | 57 | * |
| 59 | 58 | * @deprecated Option "like_text" deprecated as of ES 2.0.0-beta1 and will be removed at further Elastica releases. Use "like" instead. |
| 60 | - |
|
| 61 | 59 | * @return $this |
| 62 | 60 | */ |
| 63 | 61 | public function setLikeText($likeText) |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | $signer = new SignatureV4('es', $region); |
| 44 | 44 | $credProvider = $this->getCredentialProvider(); |
| 45 | 45 | |
| 46 | - return Middleware::mapRequest(function (RequestInterface $req) use ( |
|
| 46 | + return Middleware::mapRequest(function(RequestInterface $req) use ( |
|
| 47 | 47 | $signer, |
| 48 | 48 | $credProvider |
| 49 | 49 | ) { |