Code Duplication    Length = 7-7 lines in 2 locations

src/core/DeCaptchaWiki.php 1 location

@@ 306-312 (lines=7) @@
303
     * @param string|array $name
304
     * @param string|array $value
305
     */
306
    public function setText($name, $value)
307
    {
308
        if (is_array($name)) {
309
            $name = implode('_', $name);
310
        }
311
        $this->texts[$name] = $value;
312
    }
313
314
    /**
315
     * @param string|array $name

src/core/DeCaptchaWikiMain.php 1 location

@@ 74-80 (lines=7) @@
71
     * @param string|array $name
72
     * @param string|array $value
73
     */
74
    public function setText($name, $value)
75
    {
76
        if (is_array($name)) {
77
            $name = implode('_', $name);
78
        }
79
        $this->texts[$name] = $value;
80
    }
81
82
    /**
83
     * @param string|array $name