File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 34
34
use InvalidArgumentException ;
35
35
use IteratorAggregate ;
36
36
use LogicException ;
37
+ use Override ;
37
38
use PHPUnit \Framework \Attributes \DataProvider ;
38
39
use PHPUnit \Framework \Attributes \TestDox ;
39
40
use Psr \Log \LoggerInterface ;
@@ -267,6 +268,7 @@ public function __construct(array $input)
267
268
/**
268
269
* @phpstan-return ArrayObject<int, mixed>
269
270
*/
271
+ #[Override]
270
272
public function getIterator (): ArrayObject
271
273
{
272
274
return $ this ->iterator ;
@@ -284,6 +286,7 @@ private function getIteratorAggregateThatThrowsAnException(): IteratorAggregate
284
286
/**
285
287
* @phpstan-return ArrayObject<int, mixed>
286
288
*/
289
+ #[Override]
287
290
public function getIterator (): ArrayObject
288
291
{
289
292
throw new LogicException ('Exception with getIterator ' );
Original file line number Diff line number Diff line change 21
21
use Generator ;
22
22
use InvalidArgumentException ;
23
23
use IteratorAggregate ;
24
+ use Override ;
24
25
use PHPUnit \Framework \Attributes \DataProvider ;
25
26
use PHPUnit \Framework \Attributes \TestDox ;
26
27
use Psr \Log \LoggerInterface ;
@@ -64,6 +65,7 @@ public function __construct(array $input)
64
65
/**
65
66
* @phpstan-return ArrayObject<int, mixed>
66
67
*/
68
+ #[Override]
67
69
public function getIterator (): ArrayObject
68
70
{
69
71
return $ this ->iterator ;
You can’t perform that action at this time.
0 commit comments