Passed
Push — master ( 3863d1...041130 )
by Michael
07:19
created
src/DependencyInjection/Compiler/ObjectMapperCompilerPass.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,12 +48,12 @@
 block discarded – undo
48 48
         foreach ($repositories as $id => $tags) {
49 49
             foreach ($tags as $tag)
50 50
             {
51
-                if (! isset($tag['alias'])) {
51
+                if (!isset($tag[ 'alias' ])) {
52 52
                     throw new \LogicException('Alias must be defined for a "link-repository" tag');
53 53
                 }
54 54
 
55 55
                 $definition->addMethodCall('registerRepository', [
56
-                    trim($tag['alias']),
56
+                    trim($tag[ 'alias' ]),
57 57
                     new Reference($id)
58 58
                 ]);
59 59
             }
Please login to merge, or discard this patch.