diff --git a/src/Codeception/Subscriber/FailFast.php b/src/Codeception/Subscriber/FailFast.php index 4fde827db4..9a0607ecc7 100644 --- a/src/Codeception/Subscriber/FailFast.php +++ b/src/Codeception/Subscriber/FailFast.php @@ -14,11 +14,11 @@ class FailFast implements EventSubscriberInterface use Shared\StaticEventsTrait; /** - * @var array + * @var array> */ protected static array $events = [ - Events::TEST_FAIL => 'stopOnFail', - Events::TEST_ERROR => 'stopOnFail', + Events::TEST_FAIL => ['stopOnFail', 128], + Events::TEST_ERROR => ['stopOnFail', 128], ]; private int $failureCount = 0;