File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ abstract class ValueList extends Value
29
29
protected $ separator ;
30
30
31
31
/**
32
- * @param array<array-key, Value|string>|Value|string $components
32
+ * @param array<Value|string>|Value|string $components
33
33
* @param string $separator
34
34
* @param int<0, max> $lineNumber
35
35
*/
@@ -52,33 +52,27 @@ public function addListComponent($component): void
52
52
}
53
53
54
54
/**
55
- * @return array<array-key, Value|string>
55
+ * @return array<Value|string>
56
56
*/
57
- public function getListComponents ()
57
+ public function getListComponents (): array
58
58
{
59
59
return $ this ->components ;
60
60
}
61
61
62
62
/**
63
- * @param array<array-key, Value|string> $components
63
+ * @param array<Value|string> $components
64
64
*/
65
65
public function setListComponents (array $ components ): void
66
66
{
67
67
$ this ->components = $ components ;
68
68
}
69
69
70
- /**
71
- * @return string
72
- */
73
- public function getListSeparator ()
70
+ public function getListSeparator (): string
74
71
{
75
72
return $ this ->separator ;
76
73
}
77
74
78
- /**
79
- * @param string $separator
80
- */
81
- public function setListSeparator ($ separator ): void
75
+ public function setListSeparator (string $ separator ): void
82
76
{
83
77
$ this ->separator = $ separator ;
84
78
}
You can’t perform that action at this time.
0 commit comments