We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a44d197 commit 211be64Copy full SHA for 211be64
src/Illuminate/Foundation/Testing/TestCase.php
@@ -18,6 +18,7 @@
18
use Mockery\Exception\InvalidCountException;
19
use PHPUnit\Framework\ExpectationFailedException;
20
use PHPUnit\Framework\TestCase as BaseTestCase;
21
+use PHPUnit\Util\Annotation\Registry;
22
use ReflectionProperty;
23
use Throwable;
24
@@ -237,6 +238,11 @@ protected function tearDown(): void
237
238
public static function tearDownAfterClass(): void
239
{
240
static::$latestResponse = null;
241
+
242
+ (function () {
243
+ $this->classDocBlocks = [];
244
+ $this->methodDocBlocks = [];
245
+ })->call(Registry::getInstance());
246
}
247
248
/**
0 commit comments