@@ -87,6 +87,7 @@ public function getAffectedRows()
8787 /**
8888 * @inheritdoc
8989 */
90+ #[\ReturnTypeWillChange]
9091 public function offsetExists ($ offset )
9192 {
9293 return $ this ->hasRow ($ offset );
@@ -96,6 +97,7 @@ public function offsetExists($offset)
9697 * @inheritdoc
9798 * @throws ResultSetException
9899 */
100+ #[\ReturnTypeWillChange]
99101 public function offsetGet ($ offset )
100102 {
101103 return $ this ->toRow ($ offset )->fetchAssoc ();
@@ -105,6 +107,7 @@ public function offsetGet($offset)
105107 * @inheritdoc
106108 * @codeCoverageIgnore
107109 */
110+ #[\ReturnTypeWillChange]
108111 public function offsetSet ($ offset , $ value )
109112 {
110113 throw new \BadMethodCallException ('Not implemented ' );
@@ -114,6 +117,7 @@ public function offsetSet($offset, $value)
114117 * @inheritdoc
115118 * @codeCoverageIgnore
116119 */
120+ #[\ReturnTypeWillChange]
117121 public function offsetUnset ($ offset )
118122 {
119123 throw new \BadMethodCallException ('Not implemented ' );
@@ -122,6 +126,7 @@ public function offsetUnset($offset)
122126 /**
123127 * @inheritdoc
124128 */
129+ #[\ReturnTypeWillChange]
125130 public function current ()
126131 {
127132 $ row = $ this ->fetched ;
@@ -133,6 +138,7 @@ public function current()
133138 /**
134139 * @inheritdoc
135140 */
141+ #[\ReturnTypeWillChange]
136142 public function next ()
137143 {
138144 $ this ->fetched = $ this ->fetch (true );
@@ -141,6 +147,7 @@ public function next()
141147 /**
142148 * @inheritdoc
143149 */
150+ #[\ReturnTypeWillChange]
144151 public function key ()
145152 {
146153 return (int )$ this ->cursor ;
@@ -149,6 +156,7 @@ public function key()
149156 /**
150157 * @inheritdoc
151158 */
159+ #[\ReturnTypeWillChange]
152160 public function valid ()
153161 {
154162 if ($ this ->stored !== null ) {
@@ -161,6 +169,7 @@ public function valid()
161169 /**
162170 * @inheritdoc
163171 */
172+ #[\ReturnTypeWillChange]
164173 public function rewind ()
165174 {
166175 if ($ this ->stored === null ) {
@@ -176,6 +185,7 @@ public function rewind()
176185 * Returns the number of rows in the result set
177186 * @inheritdoc
178187 */
188+ #[\ReturnTypeWillChange]
179189 public function count ()
180190 {
181191 return $ this ->num_rows ;
0 commit comments