File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1149,6 +1149,7 @@ public function getNode($position)
1149
1149
/**
1150
1150
* @return int
1151
1151
*/
1152
+ #[\ReturnTypeWillChange]
1152
1153
public function count ()
1153
1154
{
1154
1155
return \count ($ this ->nodes );
@@ -1157,6 +1158,7 @@ public function count()
1157
1158
/**
1158
1159
* @return \ArrayIterator|\DOMNode[]
1159
1160
*/
1161
+ #[\ReturnTypeWillChange]
1160
1162
public function getIterator ()
1161
1163
{
1162
1164
return new \ArrayIterator ($ this ->nodes );
Original file line number Diff line number Diff line change @@ -321,6 +321,7 @@ public function all()
321
321
*
322
322
* @return bool true if the field exists, false otherwise
323
323
*/
324
+ #[\ReturnTypeWillChange]
324
325
public function offsetExists ($ name )
325
326
{
326
327
return $ this ->has ($ name );
@@ -335,6 +336,7 @@ public function offsetExists($name)
335
336
*
336
337
* @throws \InvalidArgumentException if the field does not exist
337
338
*/
339
+ #[\ReturnTypeWillChange]
338
340
public function offsetGet ($ name )
339
341
{
340
342
return $ this ->fields ->get ($ name );
@@ -350,6 +352,7 @@ public function offsetGet($name)
350
352
*
351
353
* @throws \InvalidArgumentException if the field does not exist
352
354
*/
355
+ #[\ReturnTypeWillChange]
353
356
public function offsetSet ($ name , $ value )
354
357
{
355
358
$ this ->fields ->set ($ name , $ value );
@@ -362,6 +365,7 @@ public function offsetSet($name, $value)
362
365
*
363
366
* @return void
364
367
*/
368
+ #[\ReturnTypeWillChange]
365
369
public function offsetUnset ($ name )
366
370
{
367
371
$ this ->fields ->remove ($ name );
You can’t perform that action at this time.
0 commit comments