Completed
Push — master ( e4e35c...27cf60 )
by Walter
03:25
created
src/Service/EngineFactory.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -44,6 +44,9 @@
 block discarded – undo
44 44
         return $engine;
45 45
     }
46 46
 
47
+    /**
48
+     * @param string $serviceName
49
+     */
47 50
     private function loadService(ServiceLocatorInterface $serviceLocator, $config, $serviceName)
48 51
     {
49 52
         if (!array_key_exists($serviceName, $config)) {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,6 +9,7 @@  discard block
 block discarded – undo
9 9
 
10 10
 namespace PhpAbModule\Service;
11 11
 
12
+use PhpAbModule\Variant\EventManagerVariant;
12 13
 use PhpAb\Engine\Engine;
13 14
 use PhpAb\Engine\EngineInterface;
14 15
 use PhpAb\Event\DispatcherInterface;
@@ -16,7 +17,6 @@  discard block
 block discarded – undo
16 17
 use PhpAb\Test\Test;
17 18
 use PhpAb\Variant\CallbackVariant;
18 19
 use PhpAb\Variant\SimpleVariant;
19
-use PhpAbModule\Variant\EventManagerVariant;
20 20
 use RuntimeException;
21 21
 use Zend\ServiceManager\FactoryInterface;
22 22
 use Zend\ServiceManager\ServiceLocatorInterface;
Please login to merge, or discard this patch.
src/Variant/EventManagerVariant.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -41,6 +41,9 @@
 block discarded – undo
41 41
      */
42 42
     private $priority;
43 43
 
44
+    /**
45
+     * @param callable $callback
46
+     */
44 47
     public function __construct(EventManagerInterface $eventManager, $identifier, $eventName, $callback, $priority)
45 48
     {
46 49
         $this->eventManager = $eventManager;
Please login to merge, or discard this patch.