Passed
Branch master (81d34b)
by Pedro
04:51
created
src/Service/EndpointFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         }
29 29
         $transport = $serviceLocator->get($config['transport']);
30 30
         
31
-        return function ($class) use ($transport, $serializer) {
31
+        return function($class) use ($transport, $serializer) {
32 32
             $endpointClass = "\\Elasticsearch\\Endpoints\\$class";
33 33
             
34 34
             if (in_array($class, ['Bulk', 'MSearch', 'MPercolate'])) {
Please login to merge, or discard this patch.
src/Service/ConnectionFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         $params = $this->getConnectionParametersFromConfiguration($config);
26 26
         $connectionFactory = new $factoryName($handler, $params, $serializer, $loggers['logger'], $loggers['tracer']);
27 27
         
28
-        if (! $connectionFactory instanceof ConnectionFactoryInterface) {
28
+        if (!$connectionFactory instanceof ConnectionFactoryInterface) {
29 29
             throw new ServiceNotCreatedException(sprintf(
30 30
                 "The '%s' class does not implements %s",
31 31
                 $factoryName,
Please login to merge, or discard this patch.