Code Duplication    Length = 7-7 lines in 2 locations

src/web/html/Html.php 2 locations

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