@@ -38,7 +38,7 @@ final class Dictionary implements ArrayAccess, Countable, IteratorAggregate
38
38
private readonly array $ members ;
39
39
40
40
/**
41
- * @param iterable<string, InnerList|Item| SfMemberInput> $members
41
+ * @param iterable<string, SfMemberInput> $members
42
42
*/
43
43
private function __construct (iterable $ members = [])
44
44
{
@@ -51,7 +51,7 @@ private function __construct(iterable $members = [])
51
51
}
52
52
53
53
/**
54
- * @param InnerList|Item| SfMemberInput $member
54
+ * @param SfMemberInput $member
55
55
*/
56
56
private static function filterMember (mixed $ member ): InnerList |Item
57
57
{
@@ -84,7 +84,7 @@ public static function new(): self
84
84
* its keys represent the dictionary entry name
85
85
* its values represent the dictionary entry value
86
86
*
87
- * @param StructuredFieldProvider|iterable<string, InnerList|Item| SfMemberInput> $members
87
+ * @param StructuredFieldProvider|iterable<string, SfMemberInput> $members
88
88
*/
89
89
public static function fromAssociative (StructuredFieldProvider |iterable $ members ): self
90
90
{
@@ -108,7 +108,7 @@ public static function fromAssociative(StructuredFieldProvider|iterable $members
108
108
* the first member represents the instance entry name
109
109
* the second member represents the instance entry value
110
110
*
111
- * @param StructuredFieldProvider|Dictionary|Parameters|iterable<array{0:string, 1?:InnerList|Item| SfMemberInput}> $pairs
111
+ * @param StructuredFieldProvider|Dictionary|Parameters|iterable<array{0:string, 1?:SfMemberInput}> $pairs
112
112
*/
113
113
public static function fromPairs (StructuredFieldProvider |Dictionary |Parameters |iterable $ pairs ): self
114
114
{
@@ -489,7 +489,7 @@ public function last(): array
489
489
* This method MUST retain the state of the current instance, and return
490
490
* an instance that contains the specified changes.
491
491
*
492
- * @param InnerList|Item| SfMemberInput|null $member
492
+ * @param SfMemberInput|null $member
493
493
*
494
494
* @throws SyntaxError If the string name is not a valid
495
495
*/
@@ -580,7 +580,7 @@ public function removeByNames(string ...$names): self
580
580
* This method MUST retain the state of the current instance, and return
581
581
* an instance that contains the specified changes.
582
582
*
583
- * @param InnerList|Item| SfMemberInput|null $member
583
+ * @param SfMemberInput|null $member
584
584
* @throws SyntaxError If the string name is not a valid
585
585
*/
586
586
public function append (
@@ -602,7 +602,7 @@ public function append(
602
602
* This method MUST retain the state of the current instance, and return
603
603
* an instance that contains the specified changes.
604
604
*
605
- * @param InnerList|Item| SfMemberInput|null $member
605
+ * @param SfMemberInput|null $member
606
606
*
607
607
* @throws SyntaxError If the string name is not a valid
608
608
*/
@@ -625,7 +625,7 @@ public function prepend(
625
625
* This method MUST retain the state of the current instance, and return
626
626
* an instance that contains the specified changes.
627
627
*
628
- * @param array{0:string, 1:InnerList|Item| SfMemberInput} ...$pairs
628
+ * @param array{0:string, 1:SfMemberInput} ...$pairs
629
629
*/
630
630
public function push (array ...$ pairs ): self
631
631
{
@@ -644,7 +644,7 @@ public function push(array ...$pairs): self
644
644
* This method MUST retain the state of the current instance, and return
645
645
* an instance that contains the specified changes.
646
646
*
647
- * @param array{0:string, 1:InnerList|Item| SfMemberInput} ...$pairs
647
+ * @param array{0:string, 1:SfMemberInput} ...$pairs
648
648
*/
649
649
public function unshift (array ...$ pairs ): self
650
650
{
@@ -663,7 +663,7 @@ public function unshift(array ...$pairs): self
663
663
* This method MUST retain the state of the current instance, and return
664
664
* an instance that contains the specified changes.
665
665
*
666
- * @param array{0:string, 1:InnerList|Item| SfMemberInput} ...$members
666
+ * @param array{0:string, 1:SfMemberInput} ...$members
667
667
*/
668
668
public function insert (int $ index , array ...$ members ): self
669
669
{
@@ -688,7 +688,7 @@ public function insert(int $index, array ...$members): self
688
688
* This method MUST retain the state of the current instance, and return
689
689
* an instance that contains the specified changes.
690
690
*
691
- * @param array{0:string, 1:InnerList|Item| SfMemberInput} $pair
691
+ * @param array{0:string, 1:SfMemberInput} $pair
692
692
*/
693
693
public function replace (int $ index , array $ pair ): self
694
694
{
@@ -708,7 +708,7 @@ public function replace(int $index, array $pair): self
708
708
* This method MUST retain the state of the current instance, and return
709
709
* an instance that contains the specified changes.
710
710
*
711
- * @param StructuredFieldProvider|Dictionary|Parameters|iterable<string, InnerList|Item| SfMemberInput> ...$others
711
+ * @param StructuredFieldProvider|Dictionary|Parameters|iterable<string, SfMemberInput> ...$others
712
712
*/
713
713
public function mergeAssociative (StructuredFieldProvider |iterable ...$ others ): self
714
714
{
@@ -739,7 +739,7 @@ public function mergeAssociative(StructuredFieldProvider|iterable ...$others): s
739
739
* This method MUST retain the state of the current instance, and return
740
740
* an instance that contains the specified changes.
741
741
*
742
- * @param StructuredFieldProvider|Dictionary|Parameters|iterable<array{0:string, 1:InnerList|Item| SfMemberInput}> ...$others
742
+ * @param StructuredFieldProvider|Dictionary|Parameters|iterable<array{0:string, 1:SfMemberInput}> ...$others
743
743
*/
744
744
public function mergePairs (StructuredFieldProvider |Dictionary |Parameters |iterable ...$ others ): self
745
745
{
0 commit comments