Code Duplication    Length = 7-7 lines in 2 locations

src/web/html/Html.php 2 locations

@@ 47-53 (lines=7) @@
44
     * @return string
45
     * @static
46
     */
47
    public static function beginForm($action, $method = 'POST', array $attributes = [])
48
    {
49
        return static::openTag('form', array_merge($attributes, [
50
            'action' => $action,
51
            'method' => $method
52
        ]));
53
    }
54
55
    /**
56
     * Render end form tag
@@ 114-120 (lines=7) @@
111
     * @return string
112
     * @static
113
     */
114
    public static function textArea($name, $text, array $attributes = [])
115
    {
116
        return static::openTag('textarea', array_merge($attributes, [
117
            'id' => $name,
118
            'name' => $name
119
        ])).$text.static::closeTag('textarea');
120
    }
121
122
    /**
123
     * Render legend tag