@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | |
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | - * @param array $items |
|
| 33 | + * @param Token[] $items |
|
| 34 | 34 | */ |
| 35 | 35 | public function __construct(array $items = []) { |
| 36 | 36 | |
@@ -147,8 +147,8 @@ discard block |
||
| 147 | 147 | * Works as array_slice |
| 148 | 148 | * |
| 149 | 149 | * |
| 150 | - * @param $offset |
|
| 151 | - * @param null $length |
|
| 150 | + * @param integer $offset |
|
| 151 | + * @param integer $length |
|
| 152 | 152 | * @return $this |
| 153 | 153 | */ |
| 154 | 154 | public function slice($offset, $length = null) { |
@@ -389,7 +389,7 @@ discard block |
||
| 389 | 389 | /** |
| 390 | 390 | * Remove all tokens in collection |
| 391 | 391 | * |
| 392 | - * @return Collection |
|
| 392 | + * @return BaseCollection |
|
| 393 | 393 | */ |
| 394 | 394 | public function remove() { |
| 395 | 395 | foreach ($this as $token) { |