Code Duplication    Length = 9-9 lines in 2 locations

lib/Jms/YamlConverter.php 1 location

@@ 44-52 (lines=9) @@
41
42
    private $classes = [];
43
44
    public function convert(array $schemas)
45
    {
46
        $visited = array();
47
        $this->classes = array();
48
        foreach ($schemas as $schema) {
49
            $this->navigate($schema, $visited);
50
        }
51
        return $this->getTypes();
52
    }
53
54
    private function flattAttributes(AttributeContainer $container)
55
    {

lib/Php/PhpConverter.php 1 location

@@ 51-59 (lines=9) @@
48
49
    private $classes = [];
50
51
    public function convert(array $schemas)
52
    {
53
        $visited = array();
54
        $this->classes = array();
55
        foreach ($schemas as $schema) {
56
            $this->navigate($schema, $visited);
57
        }
58
        return $this->getTypes();
59
    }
60
61
    /**
62
     *