Completed
Push — dev ( f4e83e...997c2c )
by
unknown
12:04
created
src/Options/ModuleOptions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     /**
19 19
      * @var array
20 20
      */
21
-    private $cloners = [];
21
+    private $cloners = [ ];
22 22
 
23 23
     /**
24 24
      * @return array
Please login to merge, or discard this patch.
src/ClonerAbstractFactory.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,8 +42,8 @@  discard block
 block discarded – undo
42 42
             $this->clonersConfig = $this->getClonersConfig($serviceManager);
43 43
         }
44 44
         if (array_key_exists($requestedName, $this->clonersConfig)) {
45
-            if (array_key_exists('class', $this->clonersConfig[$requestedName])) {
46
-                return is_a($this->clonersConfig[$requestedName]['class'], Cloner::class);
45
+            if (array_key_exists('class', $this->clonersConfig[ $requestedName ])) {
46
+                return is_a($this->clonersConfig[ $requestedName ][ 'class' ], Cloner::class);
47 47
             } else {
48 48
                 return true;
49 49
             }
@@ -61,8 +61,8 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public function createServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName)
63 63
     {
64
-        Assertion::isArray($this->clonersConfig[$requestedName]);
65
-        $options = new Options\ClonerOptions($this->clonersConfig[$requestedName]);
64
+        Assertion::isArray($this->clonersConfig[ $requestedName ]);
65
+        $options = new Options\ClonerOptions($this->clonersConfig[ $requestedName ]);
66 66
 
67 67
         Assertion::isInstanceOf($serviceLocator, ClonerManagerInterface::class);
68 68
         Assertion::isInstanceOf($options, Options\ClonerOptions::class);
Please login to merge, or discard this patch.