Passed
Branch master (81d34b)
by Pedro
04:51
created
src/Service/ConnectionPoolFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
     }
89 89
 
90 90
     /**
91
-     * @param array $host
91
+     * @param string $host
92 92
      *
93 93
      * @throws InvalidArgumentException
94 94
      * @return array
Please login to merge, or discard this patch.
src/Service/HandlerFactory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -64,6 +64,9 @@
 block discarded – undo
64 64
         );
65 65
     }
66 66
     
67
+    /**
68
+     * @param string $factoryKey
69
+     */
67 70
     private function createFactoryInConfig(ServiceLocatorInterface $serviceLocator, $handlerParams, $factoryKey)
68 71
     {
69 72
         if ($this->hasHandlerFactoryOption($handlerParams, $factoryKey)) {
Please login to merge, or discard this patch.
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.