Code Duplication    Length = 5-5 lines in 2 locations

DependencyInjection/CrudsEntitiesConfigurator.php 2 locations

@@ 82-86 (lines=5) @@
79
            $factory = new Reference($this->filterReference($factory));
80
        }
81
82
        if (null === $processor) {
83
            $processor = new Reference('cruds.processor.property_access');
84
        } else {
85
            $processor = new Reference($this->filterReference($processor));
86
        }
87
88
        $definition = new Definition(CreateController::class);
89
        $definition->setArguments(
@@ 139-143 (lines=5) @@
136
137
    public function registerUpdateAction($name, $path, $repository, $processor, $manager)
138
    {
139
        if (null === $processor) {
140
            $processor = new Reference('cruds.processor.property_access');
141
        } else {
142
            $processor = new Reference($this->filterReference($processor));
143
        }
144
145
        $definition = new Definition(UpdateController::class);
146
        $definition->setArguments(