Code Duplication    Length = 6-6 lines in 3 locations

src/Map/AbstractMap.php 3 locations

@@ 55-60 (lines=6) @@
52
    public function sort()
53
    {
54
        // xx dynamic
55
        if (isset(static::$map['t'])) {
56
            ksort(static::$map['t']);
57
            foreach (static::$map['t'] as &$t) {
58
                ksort($t);
59
            }
60
        }
61
        if (isset(static::$map['e'])) {
62
            ksort(static::$map['e']);
63
            foreach (static::$map['e'] as &$e) {
@@ 61-66 (lines=6) @@
58
                ksort($t);
59
            }
60
        }
61
        if (isset(static::$map['e'])) {
62
            ksort(static::$map['e']);
63
            foreach (static::$map['e'] as &$e) {
64
                ksort($e);
65
            }
66
        }
67
        if (isset(static::$map['a'])) {
68
            ksort(static::$map['a']);
69
            foreach (static::$map['a'] as &$a) {
@@ 67-72 (lines=6) @@
64
                ksort($e);
65
            }
66
        }
67
        if (isset(static::$map['a'])) {
68
            ksort(static::$map['a']);
69
            foreach (static::$map['a'] as &$a) {
70
                ksort($a);
71
            }
72
        }
73
        return $this;
74
    }
75