@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | * |
189 | 189 | * @param callable $condition Condition to satisfy. |
190 | 190 | * |
191 | - * @return mixed |
|
191 | + * @return Collection |
|
192 | 192 | */ |
193 | 193 | public function filter( $condition ) { |
194 | 194 | $elements = array(); |
@@ -672,7 +672,7 @@ discard block |
||
672 | 672 | /** |
673 | 673 | * Return the key of the current element. |
674 | 674 | * |
675 | - * @return mixed |
|
675 | + * @return integer |
|
676 | 676 | */ |
677 | 677 | public function key() { |
678 | 678 | return $this->position; |
@@ -699,7 +699,7 @@ discard block |
||
699 | 699 | * from a trusted set of elements. |
700 | 700 | * |
701 | 701 | * @param array $elements Array of elements to pass into new collection. |
702 | - * @param null|mixed $type |
|
702 | + * @param string $type |
|
703 | 703 | * |
704 | 704 | * @return static |
705 | 705 | */ |