Completed
Pull Request — master (#3)
by Christopher
03:31
created
src/Dsl/AbstractSearch.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -134,8 +134,7 @@  discard block
 block discarded – undo
134 134
     protected function initMetricStartTime(): ?float
135 135
     {
136 136
         return config('laravel-elasticsearch-dsl.metrics.enabled', false) ?
137
-            microtime(true) :
138
-            null;
137
+            microtime(true) : null;
139 138
     }
140 139
     
141 140
     /**
@@ -161,7 +160,7 @@  discard block
 block discarded – undo
161 160
                     )
162 161
                 )
163 162
             );
164
-        } catch (MetricsRegistrationException|\Exception $e) {
163
+        } catch (MetricsRegistrationException | \Exception $e) {
165 164
             Log::error('Prometheus exporter metrics registration failed.');
166 165
         }
167 166
     }
Please login to merge, or discard this patch.