@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | |
| 70 | 70 | /** |
| 71 | 71 | * {@inheritDoc} |
| 72 | - * @return $this |
|
| 72 | + * @return Dictionary |
|
| 73 | 73 | */ |
| 74 | 74 | public function groupBy($callback) |
| 75 | 75 | { |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | |
| 91 | 91 | /** |
| 92 | 92 | * {@inheritDoc} |
| 93 | - * @return $this |
|
| 93 | + * @return Dictionary |
|
| 94 | 94 | */ |
| 95 | 95 | public function indexBy($callback) |
| 96 | 96 | { |
@@ -68,7 +68,7 @@ |
||
| 68 | 68 | * @param array $conditions A key-value list of conditions to match where the |
| 69 | 69 | * key is the property path to get from the current item and the value is the |
| 70 | 70 | * value to be compared the item with. |
| 71 | - * @return callable |
|
| 71 | + * @return \Closure |
|
| 72 | 72 | */ |
| 73 | 73 | protected function createMatcherFilter(array $conditions) |
| 74 | 74 | { |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | 31 | * @param int $element |
| 32 | - * @return mixed |
|
| 32 | + * @return boolean |
|
| 33 | 33 | */ |
| 34 | 34 | protected function isBoundedKey($element) |
| 35 | 35 | { |