Code Duplication    Length = 8-8 lines in 3 locations

src/Parser/Directives/CommentParser.php 1 location

@@ 95-102 (lines=8) @@
92
     *
93
     * @return string[]
94
     */
95
    public function render()
96
    {
97
        $result = [];
98
        foreach ($this->array as $value) {
99
            $result[] = self::DIRECTIVE . ':' . $value;
100
        }
101
        return $result;
102
    }
103
}
104

src/Parser/Directives/SitemapParser.php 1 location

@@ 78-85 (lines=8) @@
75
     *
76
     * @return string[]
77
     */
78
    public function render()
79
    {
80
        $result = [];
81
        foreach ($this->array as $value) {
82
            $result[] = self::DIRECTIVE . ':' . $value;
83
        }
84
        return $result;
85
    }
86
}
87

src/Parser/Directives/HostParser.php 1 location

@@ 115-122 (lines=8) @@
112
     *
113
     * @return string[]
114
     */
115
    public function render()
116
    {
117
        $result = [];
118
        foreach ($this->array as $value) {
119
            $result[] = self::DIRECTIVE . ':' . $value;
120
        }
121
        return $result;
122
    }
123
}
124