Completed
Pull Request — master (#87)
by
unknown
12:28
created
src/Factory.php 4 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
                         'body'           => $response->getBody()
124 124
                                                      ->detach(),
125 125
                         'transfer_stats' => ['total_time' => 0],
126
-                        'effective_url'  => (string)$psr7Request->getUri(),
126
+                        'effective_url'  => (string) $psr7Request->getUri(),
127 127
                     ]);
128 128
                 });
129 129
             }
Please login to merge, or discard this patch.
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.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@
 block discarded – undo
3 3
 use Elasticsearch\Client;
4 4
 use Elasticsearch\ClientBuilder;
5 5
 use Illuminate\Support\Arr;
6
-use Psr\Log\LoggerInterface;
7
-use Monolog\Logger;
8 6
 use Monolog\Handler\StreamHandler;
7
+use Monolog\Logger;
8
+use Psr\Log\LoggerInterface;
9 9
 
10 10
 class Factory
11 11
 {
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.
src/ServiceProvider.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 use Elasticsearch\Client;
4 4
 use Illuminate\Container\Container;
5 5
 use Illuminate\Foundation\Application as LaravelApplication;
6
-use Illuminate\Foundation\Application;
7 6
 use Illuminate\Support\ServiceProvider as BaseServiceProvider;
8 7
 use Laravel\Lumen\Application as LumenApplication;
9 8
 
Please login to merge, or discard this patch.