Completed
Push — master ( 3414d7...44af72 )
by Colin
18s
created
src/Factory.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@
 block discarded – undo
182 182
         // Build and return the client
183 183
         if($ES_api_id != '')
184 184
             {
185
-              return $clientBuilder->setApiKey($ES_api_id,$ES_api_key)->build();
185
+                return $clientBuilder->setApiKey($ES_api_id,$ES_api_key)->build();
186 186
             }
187 187
         else {
188 188
             return $clientBuilder->build();
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -176,13 +176,13 @@
 block discarded – undo
176 176
                 });
177 177
             }
178 178
         }
179
-        $ES_api_id=Arr::get($config, 'ES_api_id');
180
-        $ES_api_key=Arr::get($config, 'ES_api_key');
179
+        $ES_api_id = Arr::get($config, 'ES_api_id');
180
+        $ES_api_key = Arr::get($config, 'ES_api_key');
181 181
 
182 182
         // Build and return the client
183
-        if($ES_api_id != '')
183
+        if ($ES_api_id != '')
184 184
             {
185
-              return $clientBuilder->setApiKey($ES_api_id,$ES_api_key)->build();
185
+              return $clientBuilder->setApiKey($ES_api_id, $ES_api_key)->build();
186 186
             }
187 187
         else {
188 188
             return $clientBuilder->build();
Please login to merge, or discard this patch.
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -145,7 +145,8 @@  discard block
 block discarded – undo
145 145
                     );
146 146
 
147 147
                     // Get curl stats
148
-                    $http_stats = new class {
148
+                    $http_stats = new class
149
+                    {
149 150
                         public $data = [];
150 151
                         public function __invoke(...$args)
151 152
                         {
@@ -183,8 +184,7 @@  discard block
 block discarded – undo
183 184
         if($ES_api_id != '')
184 185
             {
185 186
               return $clientBuilder->setApiKey($ES_api_id,$ES_api_key)->build();
186
-            }
187
-        else {
187
+            } else {
188 188
             return $clientBuilder->build();
189 189
                 }
190 190
     }
Please login to merge, or discard this patch.