Code Duplication    Length = 7-7 lines in 2 locations

micro/web/Html.php 2 locations

@@ 607-613 (lines=7) @@
604
     * @return string
605
     * @static
606
     */
607
    public static function beginForm($action, $method = 'POST', array $attributes = [])
608
    {
609
        $attributes['action'] = $action;
610
        $attributes['method'] = $method;
611
612
        return self::openTag('form', $attributes);
613
    }
614
615
    // FORM Elements
616
@@ 675-681 (lines=7) @@
672
     * @return string
673
     * @static
674
     */
675
    public static function textArea($name, $text, array $attributes = [])
676
    {
677
        $attributes['id'] = $name;
678
        $attributes['name'] = $name;
679
680
        return self::openTag('textarea', $attributes) . $text . self::closeTag('textarea');
681
    }
682
683
    /**
684
     * Render legend tag