diff --git a/src/Functions.php b/src/Functions.php index 0ed631f3..fef59157 100644 --- a/src/Functions.php +++ b/src/Functions.php @@ -61,7 +61,7 @@ function beforeAll(Closure $closure): void /** * Runs the given closure before each test in the current file. * - * @param-closure-this TestCase $closure + * @param-closure-this TestCall $closure * * @return HigherOrderTapProxy|Expectable|TestCall|TestCase|mixed */ @@ -134,7 +134,7 @@ function pest(): Configuration * is the test description; the second argument is * a closure that contains the test expectations. * - * @param-closure-this TestCase $closure + * @param-closure-this TestCall $closure * * @return Expectable|TestCall|TestCase|mixed */ @@ -156,7 +156,7 @@ function test(?string $description = null, ?Closure $closure = null): HigherOrde * is the test description; the second argument is * a closure that contains the test expectations. * - * @param-closure-this TestCase $closure + * @param-closure-this TestCall $closure * * @return Expectable|TestCall|TestCase|mixed */ @@ -191,7 +191,7 @@ function todo(string $description): TestCall /** * Runs the given closure after each test in the current file. * - * @param-closure-this TestCase $closure + * @param-closure-this TestCall $closure * * @return Expectable|HigherOrderTapProxy|TestCall|mixed */