Completed
Push — master ( b6d0f2...cf05e5 )
by Tobias
02:18
created
src/ClientFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
             throw new InvalidArgumentException(\sprintf('ClientFactory::create() expects array or string as first argument, %s given.', \gettype($servers)));
34 34
         }
35 35
 
36
-        \set_error_handler(function ($type, $msg, $file, $line) {
36
+        \set_error_handler(function($type, $msg, $file, $line) {
37 37
             throw new \ErrorException($msg, 0, $type, $file, $line);
38 38
         });
39 39
         try {
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
             }
62 62
             $params = \preg_replace_callback(
63 63
                 '#^elasticsearch:(//)?(?:([^@]*+)@)?#',
64
-                function ($m) use (&$username, &$password) {
64
+                function($m) use (&$username, &$password) {
65 65
                     if (!empty($m[2])) {
66 66
                         list($username, $password) = \explode(':', $m[2], 2) + [1 => null];
67 67
                     }
Please login to merge, or discard this patch.