Skip to content

Commit 9323ed2

Browse files
committed
allow defaults to be passed to addHeader
1 parent d6ed6c3 commit 9323ed2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Form.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ public function addControls(array $controls)
419419
/**
420420
* Add header into the form, which appears as a separator.
421421
*
422-
* @param string $title
422+
* @param string|array $title
423423
*
424424
* @return Form\Layout
425425
*/

src/Form/Layout.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function addButton($seed)
7676
/**
7777
* Adds Header in form layout.
7878
*
79-
* @param string $label
79+
* @param string|array $label
8080
*
8181
* @return $this
8282
*/

0 commit comments

Comments
 (0)