Code Duplication    Length = 7-7 lines in 2 locations

web/html/Html.php 2 locations

@@ 294-300 (lines=7) @@
291
     * @return string
292
     * @static
293
     */
294
    public static function resetButton($label = 'Reset', array $attributes = [])
295
    {
296
        $attributes['type'] = 'reset';
297
        $attributes['value'] = $label;
298
299
        return static::tag('input', $attributes);
300
    }
301
302
    /**
303
     * Render submit button tag
@@ 313-319 (lines=7) @@
310
     * @return string
311
     * @static
312
     */
313
    public static function submitButton($label = 'Submit', array $attributes = [])
314
    {
315
        $attributes['type'] = 'submit';
316
        $attributes['value'] = $label;
317
318
        return static::tag('input', $attributes);
319
    }
320
}
321