Code Duplication    Length = 3-3 lines in 2 locations

src/Bundle/DependencyInjection/DunglasDoctrineJsonOdmExtension.php 2 locations

@@ 34-36 (lines=3) @@
31
            return;
32
        }
33
34
        if (!isset($frameworkConfiguration['serializer']) || !isset($frameworkConfiguration['serializer']['enabled'])) {
35
            $container->prependExtensionConfig('framework', ['serializer' => ['enabled' => true]]);
36
        }
37
38
        if (!isset($frameworkConfiguration['property_info']) || !isset($frameworkConfiguration['property_info']['enabled'])) {
39
            $container->prependExtensionConfig('framework', ['property_info' => ['enabled' => true]]);
@@ 38-40 (lines=3) @@
35
            $container->prependExtensionConfig('framework', ['serializer' => ['enabled' => true]]);
36
        }
37
38
        if (!isset($frameworkConfiguration['property_info']) || !isset($frameworkConfiguration['property_info']['enabled'])) {
39
            $container->prependExtensionConfig('framework', ['property_info' => ['enabled' => true]]);
40
        }
41
    }
42
43
    /**