@@ -22,6 +22,7 @@ discard block |
||
22 | 22 | * element ot the end of the set |
23 | 23 | * |
24 | 24 | * @param mixed $element |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function add($element); |
27 | 28 | |
@@ -32,6 +33,7 @@ discard block |
||
32 | 33 | * This function may take an array as argument or another set or collection. |
33 | 34 | * |
34 | 35 | * @param array|\BuildR\Collection\Collection\CollectionInterface $elements |
36 | + * @return void |
|
35 | 37 | */ |
36 | 38 | public function addAll($elements); |
37 | 39 | |
@@ -42,6 +44,7 @@ discard block |
||
42 | 44 | * |
43 | 45 | * @param int $index |
44 | 46 | * @param mixed $element |
47 | + * @return void |
|
45 | 48 | */ |
46 | 49 | public function addTo($index, $element); |
47 | 50 | |
@@ -114,7 +117,7 @@ discard block |
||
114 | 117 | * Determines that the current list is contains any value by the input. |
115 | 118 | * The input of this method will be an other collection or an array. |
116 | 119 | * |
117 | - * @param \BuildR\Collection\Collection\CollectionInterface|array $element |
|
120 | + * @param \BuildR\Collection\Collection\CollectionInterface|array $elements |
|
118 | 121 | * |
119 | 122 | * @return bool |
120 | 123 | */ |
@@ -143,6 +146,7 @@ discard block |
||
143 | 146 | * Removes an element in the given index. |
144 | 147 | * |
145 | 148 | * @param int $index |
149 | + * @return void |
|
146 | 150 | */ |
147 | 151 | public function removeAt($index); |
148 | 152 | |
@@ -150,6 +154,7 @@ discard block |
||
150 | 154 | * Removes all element with the given index |
151 | 155 | * |
152 | 156 | * @param array $elements |
157 | + * @return void |
|
153 | 158 | */ |
154 | 159 | public function removeAll($elements); |
155 | 160 | |
@@ -172,6 +177,7 @@ discard block |
||
172 | 177 | * retained elements index. |
173 | 178 | * |
174 | 179 | * @param \BuildR\Collection\Collection\CollectionInterface|array $elements |
180 | + * @return void |
|
175 | 181 | */ |
176 | 182 | public function retainAll($elements); |
177 | 183 |