@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | * Return the current element |
| 72 | 72 | * |
| 73 | 73 | * @link http://php.net/manual/en/iterator.current.php |
| 74 | - * @return mixed Can return any type. |
|
| 74 | + * @return string Can return any type. |
|
| 75 | 75 | * @since 5.0.0 |
| 76 | 76 | */ |
| 77 | 77 | public function current() |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | * Return the key of the current element |
| 127 | 127 | * |
| 128 | 128 | * @link http://php.net/manual/en/iterator.key.php |
| 129 | - * @return mixed scalar on success, or null on failure. |
|
| 129 | + * @return integer scalar on success, or null on failure. |
|
| 130 | 130 | * @since 5.0.0 |
| 131 | 131 | */ |
| 132 | 132 | public function key() |