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/HostParser.php 1 location

@@ 135-142 (lines=8) @@
132
     *
133
     * @return string[]
134
     */
135
    public function render()
136
    {
137
        $result = [];
138
        foreach ($this->array as $value) {
139
            $result[] = self::DIRECTIVE . ':' . $value;
140
        }
141
        return $result;
142
    }
143
}
144

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