@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | } |
84 | 84 | |
85 | 85 | /** |
86 | - * @param string|int $offset |
|
86 | + * @param null|string $offset |
|
87 | 87 | * @param mixed $value |
88 | 88 | * |
89 | 89 | * @throws \Exception |
@@ -114,6 +114,7 @@ discard block |
||
114 | 114 | * |
115 | 115 | * This will only accept variables as input. |
116 | 116 | * |
117 | + * @param string[] $item |
|
117 | 118 | * @return self |
118 | 119 | * @throws \Exception |
119 | 120 | */ |
@@ -295,8 +296,8 @@ discard block |
||
295 | 296 | * Change the position of item at $offset1 in the internal array to be at |
296 | 297 | * the position of item at $offset2 and vise versa. |
297 | 298 | * |
298 | - * @param $offset1 |
|
299 | - * @param $offset2 |
|
299 | + * @param integer $offset1 |
|
300 | + * @param integer $offset2 |
|
300 | 301 | * |
301 | 302 | * @return $this |
302 | 303 | * @throws \Exception |
@@ -324,8 +325,8 @@ discard block |
||
324 | 325 | * the position of item at $offset2 and vise versa using re-order and refilling |
325 | 326 | * the array |
326 | 327 | * |
327 | - * @param $offset1 |
|
328 | - * @param $offset2 |
|
328 | + * @param integer $offset1 |
|
329 | + * @param integer $offset2 |
|
329 | 330 | * |
330 | 331 | * @return self |
331 | 332 | * |