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 @@ -1076,6 +1076,7 @@ public function getNode(int $position)
1076
1076
/**
1077
1077
* @return int
1078
1078
*/
1079
+ #[\ReturnTypeWillChange]
1079
1080
public function count ()
1080
1081
{
1081
1082
return \count ($ this ->nodes );
@@ -1084,6 +1085,7 @@ public function count()
1084
1085
/**
1085
1086
* @return \ArrayIterator|\DOMNode[]
1086
1087
*/
1088
+ #[\ReturnTypeWillChange]
1087
1089
public function getIterator ()
1088
1090
{
1089
1091
return new \ArrayIterator ($ this ->nodes );
Original file line number Diff line number Diff line change @@ -304,6 +304,7 @@ public function all()
304
304
*
305
305
* @return bool true if the field exists, false otherwise
306
306
*/
307
+ #[\ReturnTypeWillChange]
307
308
public function offsetExists (mixed $ name )
308
309
{
309
310
return $ this ->has ($ name );
@@ -318,6 +319,7 @@ public function offsetExists(mixed $name)
318
319
*
319
320
* @throws \InvalidArgumentException if the field does not exist
320
321
*/
322
+ #[\ReturnTypeWillChange]
321
323
public function offsetGet (mixed $ name )
322
324
{
323
325
return $ this ->fields ->get ($ name );
@@ -333,6 +335,7 @@ public function offsetGet(mixed $name)
333
335
*
334
336
* @throws \InvalidArgumentException if the field does not exist
335
337
*/
338
+ #[\ReturnTypeWillChange]
336
339
public function offsetSet (mixed $ name , mixed $ value )
337
340
{
338
341
$ this ->fields ->set ($ name , $ value );
@@ -345,6 +348,7 @@ public function offsetSet(mixed $name, mixed $value)
345
348
*
346
349
* @return void
347
350
*/
351
+ #[\ReturnTypeWillChange]
348
352
public function offsetUnset (mixed $ name )
349
353
{
350
354
$ this ->fields ->remove ($ name );
You can’t perform that action at this time.
0 commit comments