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 @@ -1112,6 +1112,7 @@ public function getNode(int $position)
1112
1112
/**
1113
1113
* @return int
1114
1114
*/
1115
+ #[\ReturnTypeWillChange]
1115
1116
public function count ()
1116
1117
{
1117
1118
return \count ($ this ->nodes );
@@ -1120,6 +1121,7 @@ public function count()
1120
1121
/**
1121
1122
* @return \ArrayIterator|\DOMNode[]
1122
1123
*/
1124
+ #[\ReturnTypeWillChange]
1123
1125
public function getIterator ()
1124
1126
{
1125
1127
return new \ArrayIterator ($ this ->nodes );
Original file line number Diff line number Diff line change @@ -315,6 +315,7 @@ public function all()
315
315
*
316
316
* @return bool true if the field exists, false otherwise
317
317
*/
318
+ #[\ReturnTypeWillChange]
318
319
public function offsetExists ($ name )
319
320
{
320
321
return $ this ->has ($ name );
@@ -329,6 +330,7 @@ public function offsetExists($name)
329
330
*
330
331
* @throws \InvalidArgumentException if the field does not exist
331
332
*/
333
+ #[\ReturnTypeWillChange]
332
334
public function offsetGet ($ name )
333
335
{
334
336
return $ this ->fields ->get ($ name );
@@ -344,6 +346,7 @@ public function offsetGet($name)
344
346
*
345
347
* @throws \InvalidArgumentException if the field does not exist
346
348
*/
349
+ #[\ReturnTypeWillChange]
347
350
public function offsetSet ($ name , $ value )
348
351
{
349
352
$ this ->fields ->set ($ name , $ value );
@@ -356,6 +359,7 @@ public function offsetSet($name, $value)
356
359
*
357
360
* @return void
358
361
*/
362
+ #[\ReturnTypeWillChange]
359
363
public function offsetUnset ($ name )
360
364
{
361
365
$ this ->fields ->remove ($ name );
You can’t perform that action at this time.
0 commit comments