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

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