| @@ -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 | } | 
| @@ -5,7 +5,6 @@ | ||
| 5 | 5 | use Elastica\Index; | 
| 6 | 6 | use Elastica\Query\MatchAll; | 
| 7 | 7 | use Elastica\ScanAndScroll; | 
| 8 | -use Elastica\Search; | |
| 9 | 8 | use Elastica\Type; | 
| 10 | 9 | |
| 11 | 10 | /** | 
| @@ -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 |          ) { |