@@ -676,7 +676,7 @@ discard block |
||
| 676 | 676 | /** |
| 677 | 677 | * Return the key of the current element. |
| 678 | 678 | * |
| 679 | - * @return mixed |
|
| 679 | + * @return integer |
|
| 680 | 680 | */ |
| 681 | 681 | public function key() { |
| 682 | 682 | return $this->position; |
@@ -703,7 +703,7 @@ discard block |
||
| 703 | 703 | * from a trusted set of elements. |
| 704 | 704 | * |
| 705 | 705 | * @param array $elements Array of elements to pass into new collection. |
| 706 | - * @param null|mixed $type |
|
| 706 | + * @param string $type |
|
| 707 | 707 | * |
| 708 | 708 | * @return static |
| 709 | 709 | */ |