File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ public function __construct($object)
39
39
/**
40
40
* {@inheritdoc}
41
41
*/
42
+ #[\ReturnTypeWillChange]
42
43
public function current ()
43
44
{
44
45
$ this ->initialize ();
@@ -49,7 +50,7 @@ public function current()
49
50
/**
50
51
* {@inheritdoc}
51
52
*/
52
- public function next ()
53
+ public function next (): void
53
54
{
54
55
$ this ->initialize ();
55
56
$ this ->position ++;
@@ -58,7 +59,7 @@ public function next()
58
59
/**
59
60
* {@inheritdoc}
60
61
*/
61
- public function key ()
62
+ public function key (): int
62
63
{
63
64
$ this ->initialize ();
64
65
@@ -68,7 +69,7 @@ public function key()
68
69
/**
69
70
* {@inheritdoc}
70
71
*/
71
- public function valid ()
72
+ public function valid (): bool
72
73
{
73
74
$ this ->initialize ();
74
75
@@ -78,7 +79,7 @@ public function valid()
78
79
/**
79
80
* {@inheritdoc}
80
81
*/
81
- public function rewind ()
82
+ public function rewind (): void
82
83
{
83
84
$ this ->initialize ();
84
85
$ this ->position = 0 ;
@@ -87,7 +88,7 @@ public function rewind()
87
88
/**
88
89
* {@inheritdoc}
89
90
*/
90
- public function count ()
91
+ public function count (): int
91
92
{
92
93
$ this ->initialize ();
93
94
You can’t perform that action at this time.
0 commit comments