From e1a30e3c9206599ffe90bd90a2553b26558d10b8 Mon Sep 17 00:00:00 2001 From: luke Date: Wed, 8 Dec 2021 09:01:16 +0000 Subject: [PATCH] Add method comment. --- src/PendingCalls/TestCall.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/PendingCalls/TestCall.php b/src/PendingCalls/TestCall.php index 7823cda6..53405722 100644 --- a/src/PendingCalls/TestCall.php +++ b/src/PendingCalls/TestCall.php @@ -160,6 +160,9 @@ final class TestCall return $this; } + /** + * Informs the test runner that no expectations happen in this test. + */ public function hasNoExpectations(): TestCall { $this->testCaseMethod->proxies->add(Backtrace::file(), Backtrace::line(), 'expectNotToPerformAssertions', []);