@@ -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 | ) { |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use Elastica\Bulk\Action\AbstractDocument as AbstractDocumentAction; |
| 7 | 7 | use Elastica\Bulk\Response as BulkResponse; |
| 8 | 8 | use Elastica\Bulk\ResponseSet; |
| 9 | -use Elastica\Exception\Bulk\ResponseException; |
|
| 10 | 9 | use Elastica\Exception\Bulk\ResponseException as BulkResponseException; |
| 11 | 10 | use Elastica\Exception\InvalidException; |
| 12 | 11 | use Elastica\Script\AbstractScript; |
@@ -583,7 +583,7 @@ |
||
| 583 | 583 | $cloned = clone $endpoint; |
| 584 | 584 | |
| 585 | 585 | $cloned->setIndex($this->getName()); |
| 586 | - if ( $endpoint instanceof Create || $endpoint instanceof \Elasticsearch\Endpoints\Indices\Mapping\Put) { |
|
| 586 | + if ($endpoint instanceof Create || $endpoint instanceof \Elasticsearch\Endpoints\Indices\Mapping\Put) { |
|
| 587 | 587 | $cloned->setParams(['include_type_name' => true]); |
| 588 | 588 | } |
| 589 | 589 | |