Completed
Push — dev ( 997c2c...9002dc )
by
unknown
05:25
created
src/ClonerAbstractFactory.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,9 +47,9 @@  discard block
 block discarded – undo
47 47
             $this->clonersConfig = $this->getClonersConfig($serviceManager);
48 48
         }
49 49
         if (array_key_exists($requestedName, $this->clonersConfig)) {
50
-            if (array_key_exists('class', $this->clonersConfig[$requestedName])) {
50
+            if (array_key_exists('class', $this->clonersConfig[ $requestedName ])) {
51 51
                 $class = Cloner::class;
52
-                return is_a($this->clonersConfig[$requestedName]['class'], $class, true);
52
+                return is_a($this->clonersConfig[ $requestedName ][ 'class' ], $class, true);
53 53
             } else {
54 54
                 return true;
55 55
             }
@@ -67,8 +67,8 @@  discard block
 block discarded – undo
67 67
      */
68 68
     public function createServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName)
69 69
     {
70
-        Assertion::isArray($this->clonersConfig[$requestedName]);
71
-        $options = new Options\ClonerOptions($this->clonersConfig[$requestedName]);
70
+        Assertion::isArray($this->clonersConfig[ $requestedName ]);
71
+        $options = new Options\ClonerOptions($this->clonersConfig[ $requestedName ]);
72 72
 
73 73
         Assertion::isInstanceOf($serviceLocator, ClonerManagerInterface::class);
74 74
         Assertion::isInstanceOf($options, Options\ClonerOptions::class);
Please login to merge, or discard this patch.