@@ -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 | ) { |
@@ -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 | |