Code Duplication    Length = 3-3 lines in 2 locations

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Dumper/YamlDumper.php 2 locations

@@ 143-145 (lines=3) @@
140
            }
141
        }
142
143
        if ($callable = $definition->getFactory()) {
144
            $code .= sprintf("        factory: %s\n", $this->dumper->dump($this->dumpCallable($callable), 0));
145
        }
146
147
        if ($callable = $definition->getConfigurator()) {
148
            $code .= sprintf("        configurator: %s\n", $this->dumper->dump($this->dumpCallable($callable), 0));
@@ 147-149 (lines=3) @@
144
            $code .= sprintf("        factory: %s\n", $this->dumper->dump($this->dumpCallable($callable), 0));
145
        }
146
147
        if ($callable = $definition->getConfigurator()) {
148
            $code .= sprintf("        configurator: %s\n", $this->dumper->dump($this->dumpCallable($callable), 0));
149
        }
150
151
        return $code;
152
    }