Code Duplication    Length = 8-8 lines in 2 locations

src/Helpers/Emojify.php 2 locations

@@ 159-166 (lines=8) @@
156
     *
157
     * @return mixed
158
     */
159
    protected function wordToEmojiReplace($line, $replace, $delimiter)
160
    {
161
        foreach ($replace as $key => $value) {
162
            $line = str_replace($delimiter.$key.$delimiter, $value, $line);
163
        }
164
165
        return $line;
166
    }
167
168
    /**
169
     * Finds emojis and replaces them with text enclosed by the delimiter
@@ 177-184 (lines=8) @@
174
     *
175
     * @return mixed
176
     */
177
    protected function emojiToWordReplace($line, $replace, $delimiter)
178
    {
179
        foreach ($replace as $key => $value) {
180
            $line = str_replace($key, $delimiter.$value.$delimiter, $line);
181
        }
182
183
        return $line;
184
    }
185
186
    /**
187
     * Get Emoji Map Array.