Skip to content

Commit

Permalink
Merge pull request #11235 from creative-commoners/pulls/6/fieldlist-s…
Browse files Browse the repository at this point in the history
…trongly-type

API Strongly type Fieldlist
  • Loading branch information
GuySartorelli committed May 16, 2024
2 parents c6aee6c + 7b847f8 commit 3b1d859
Show file tree
Hide file tree
Showing 6 changed files with 130 additions and 119 deletions.
4 changes: 2 additions & 2 deletions src/Forms/CompositeField.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ public function unshift(FormField $field)
* @param string $insertBefore
* @param FormField $field
* @param bool $appendIfMissing
* @return false|FormField
* @return FormField|null
*/
public function insertBefore($insertBefore, $field, $appendIfMissing = true)
{
Expand All @@ -352,7 +352,7 @@ public function insertBefore($insertBefore, $field, $appendIfMissing = true)
* @param string $insertAfter
* @param FormField $field
* @param bool $appendIfMissing
* @return false|FormField
* @return FormField|null
*/
public function insertAfter($insertAfter, $field, $appendIfMissing = true)
{
Expand Down

0 comments on commit 3b1d859

Please sign in to comment.