Skip to content

Commit afd636f

Browse files
daunjasonvarga
andauthored
[5.x] Fix form submission types (#14430)
Co-authored-by: Jason Varga <jason@pixelfear.com>
1 parent 9c22645 commit afd636f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Forms/Submission.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,17 +83,17 @@ public function form($form = null)
8383
/**
8484
* Get the form fields.
8585
*
86-
* @return array
86+
* @return \Illuminate\Support\Collection<string, array>
8787
*/
8888
public function fields()
8989
{
9090
return $this->form()->fields()->map->toArray();
9191
}
9292

9393
/**
94-
* Get or set the columns.
94+
* Get the columns.
9595
*
96-
* @return array
96+
* @return \Statamic\CP\Columns
9797
*/
9898
public function columns()
9999
{

0 commit comments

Comments
 (0)