Completed
Pull Request — master (#87)
by
unknown
12:28
created
src/Factory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      *
35 35
      * @param array $config
36 36
      *
37
-     * @return \Elasticsearch\Client|mixed
37
+     * @return Client
38 38
      */
39 39
     public function make(array $config)
40 40
     {
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -112,9 +112,9 @@  discard block
 block discarded – undo
112 112
                     
113 113
                     // Create the Credentials instance with the credentials from the environment
114 114
                     $credentials = new \Aws\Credentials\Credentials(
115
-                      $host['aws_key'],
116
-                      $host['aws_secret'],
117
-                      env('AWS_SESSION_TOKEN') ?? null
115
+                        $host['aws_key'],
116
+                        $host['aws_secret'],
117
+                        env('AWS_SESSION_TOKEN') ?? null
118 118
                     );
119 119
                     // check if the aws_credentials from config is set and if it contains a Credentials instance
120 120
                     if (!empty($host['aws_credentials']) && $host['aws_credentials'] instanceof \Aws\Credentials\Credentials) {
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
                         'status'         => $response->getStatusCode(),
149 149
                         'headers'        => $response->getHeaders(),
150 150
                         'body'           => $response->getBody()
151
-                                                     ->detach(),
151
+                                                        ->detach(),
152 152
                         'transfer_stats' => ['total_time' => 0],
153 153
                         'effective_url'  => (string)$psr7Request->getUri(),
154 154
                     ]);
Please login to merge, or discard this patch.