Skip to content

Commit 76f2f1f

Browse files
Add types to private and internal properties
1 parent 0e2885a commit 76f2f1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ChoiceList/View/ChoiceListView.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ class ChoiceListView
2828
/**
2929
* Creates a new choice list view.
3030
*
31-
* @param ChoiceGroupView[]|ChoiceView[] $choices The choice views
32-
* @param ChoiceGroupView[]|ChoiceView[] $preferredChoices the preferred choice views
31+
* @param array<ChoiceGroupView|ChoiceView> $choices The choice views
32+
* @param array<ChoiceGroupView|ChoiceView> $preferredChoices the preferred choice views
3333
*/
3434
public function __construct(array $choices = [], array $preferredChoices = [])
3535
{

0 commit comments

Comments
 (0)