@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | * |
181 | 181 | * @param callable $condition Condition to satisfy. |
182 | 182 | * |
183 | - * @return mixed |
|
183 | + * @return Collection |
|
184 | 184 | */ |
185 | 185 | public function filter( callable $condition ) { |
186 | 186 | $elements = array(); |
@@ -670,7 +670,7 @@ discard block |
||
670 | 670 | /** |
671 | 671 | * Return the key of the current element. |
672 | 672 | * |
673 | - * @return mixed |
|
673 | + * @return integer |
|
674 | 674 | */ |
675 | 675 | public function key() { |
676 | 676 | return $this->position; |
@@ -697,7 +697,7 @@ discard block |
||
697 | 697 | * from a trusted set of elements. |
698 | 698 | * |
699 | 699 | * @param array $elements Array of elements to pass into new collection. |
700 | - * @param null|mixed $type |
|
700 | + * @param string $type |
|
701 | 701 | * |
702 | 702 | * @return static |
703 | 703 | */ |