summaryrefslogtreecommitdiff
path: root/ext/spl/spl_fixedarray.stub.php
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/spl_fixedarray.stub.php')
-rwxr-xr-xext/spl/spl_fixedarray.stub.php17
1 files changed, 2 insertions, 15 deletions
diff --git a/ext/spl/spl_fixedarray.stub.php b/ext/spl/spl_fixedarray.stub.php
index 553de5c2fa..b169dfdeac 100755
--- a/ext/spl/spl_fixedarray.stub.php
+++ b/ext/spl/spl_fixedarray.stub.php
@@ -2,7 +2,7 @@
/** @generate-function-entries */
-class SplFixedArray implements Iterator, ArrayAccess, Countable
+class SplFixedArray implements IteratorAggregate, ArrayAccess, Countable
{
public function __construct(int $size = 0) {}
@@ -48,18 +48,5 @@ class SplFixedArray implements Iterator, ArrayAccess, Countable
*/
public function offsetUnset($index) {}
- /** @return void */
- public function rewind() {}
-
- /** @return mixed */
- public function current() {}
-
- /** @return int */
- public function key() {}
-
- /** @return void */
- public function next() {}
-
- /** @return bool */
- public function valid() {}
+ public function getIterator(): Iterator {}
}