From 2e25eb59b8c0f43373ce3fdaa4aa1674d3313edb Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Tue, 25 Apr 2023 21:32:09 +0100 Subject: [PATCH] style: fixes --- src/Factories/TestCaseMethodFactory.php | 2 +- tests/Features/Expect/HigherOrder/methods.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Factories/TestCaseMethodFactory.php b/src/Factories/TestCaseMethodFactory.php index f75dffa4..95b5c8ff 100644 --- a/src/Factories/TestCaseMethodFactory.php +++ b/src/Factories/TestCaseMethodFactory.php @@ -90,7 +90,7 @@ final class TestCaseMethodFactory $method = $this; return function () use ($testCase, $method, $closure): mixed { // @phpstan-ignore-line - /* @var TestCase $this */ + /* @var TestCase $this */ $testCase->proxies->proxy($this); $method->proxies->proxy($this); diff --git a/tests/Features/Expect/HigherOrder/methods.php b/tests/Features/Expect/HigherOrder/methods.php index eba3be28..ee3157b7 100644 --- a/tests/Features/Expect/HigherOrder/methods.php +++ b/tests/Features/Expect/HigherOrder/methods.php @@ -95,7 +95,7 @@ it('can use the scoped method to lock into the given level for expectations', fu ->attributes()->scoped(fn ($attributes) => $attributes ->name->toBe('Has Methods') ->quantity->toBe(20) - ) + ) ); });