Skip to content

Commit fb04982

Browse files
committed
Update InitContainerBeforeDataProviderSubscriber.php
1 parent 3d7c9d2 commit fb04982

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Testing/PHPUnit/InitContainerBeforeDataProviderSubscriber.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22

33
namespace PHPStan\Testing\PHPUnit;
44

5+
use Override;
56
use PHPStan\Testing\PHPStanTestCase;
67
use PHPUnit\Event\Test\DataProviderMethodCalled;
78
use PHPUnit\Event\Test\DataProviderMethodCalledSubscriber;
89
use function is_a;
910

10-
class InitContainerBeforeDataProviderSubscriber implements DataProviderMethodCalledSubscriber
11+
final class InitContainerBeforeDataProviderSubscriber implements DataProviderMethodCalledSubscriber
1112
{
1213

14+
#[Override]
1315
public function notify(DataProviderMethodCalled $event): void
1416
{
1517
$testClassName = $event->testMethod()->className();

0 commit comments

Comments
 (0)