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 3434use InvalidArgumentException ;
3535use IteratorAggregate ;
3636use LogicException ;
37+ use Override ;
3738use PHPUnit \Framework \Attributes \DataProvider ;
3839use PHPUnit \Framework \Attributes \TestDox ;
3940use Psr \Log \LoggerInterface ;
@@ -267,6 +268,7 @@ public function __construct(array $input)
267268 /**
268269 * @phpstan-return ArrayObject<int, mixed>
269270 */
271+ #[Override]
270272 public function getIterator (): ArrayObject
271273 {
272274 return $ this ->iterator ;
@@ -284,6 +286,7 @@ private function getIteratorAggregateThatThrowsAnException(): IteratorAggregate
284286 /**
285287 * @phpstan-return ArrayObject<int, mixed>
286288 */
289+ #[Override]
287290 public function getIterator (): ArrayObject
288291 {
289292 throw new LogicException ('Exception with getIterator ' );
Original file line number Diff line number Diff line change 2121use Generator ;
2222use InvalidArgumentException ;
2323use IteratorAggregate ;
24+ use Override ;
2425use PHPUnit \Framework \Attributes \DataProvider ;
2526use PHPUnit \Framework \Attributes \TestDox ;
2627use Psr \Log \LoggerInterface ;
@@ -64,6 +65,7 @@ public function __construct(array $input)
6465 /**
6566 * @phpstan-return ArrayObject<int, mixed>
6667 */
68+ #[Override]
6769 public function getIterator (): ArrayObject
6870 {
6971 return $ this ->iterator ;
You can’t perform that action at this time.
0 commit comments