Skip to content

Commit cb518e8

Browse files
committed
Merge pull request #12 from joncave/patch-2
Don't use single type notation for mixed type arrays
2 parents f8d5382 + 99dad5c commit cb518e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proposed/phpdoc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ Example:
632632
/**
633633
* Initializes this class with the given options.
634634
*
635-
* @param string[] $options {
635+
* @param array $options {
636636
* @type boolean $required Whether this element is required
637637
* @type string $label The display name for this element
638638
* }
@@ -1230,7 +1230,7 @@ an option array with 2 elements: 'required' and 'label'.
12301230
/**
12311231
* Initializes this class with the given options.
12321232
*
1233-
* @param string[] $options {
1233+
* @param array $options {
12341234
* @type boolean $required Whether this element is required
12351235
* @type string $label The display name for this element
12361236
* }

0 commit comments

Comments
 (0)