diff --git a/src/Factories/Annotations/TestDox.php b/src/Factories/Annotations/TestDox.php index 83e12d60..5998f5b8 100644 --- a/src/Factories/Annotations/TestDox.php +++ b/src/Factories/Annotations/TestDox.php @@ -14,13 +14,12 @@ final class TestDox implements AddsAnnotations */ public function __invoke(TestCaseMethodFactory $method, array $annotations): array { - /* - * escapes docblock according to + /* + * Escapes docblock according to * https://manual.phpdoc.org/HTMLframesConverter/default/phpDocumentor/tutorial_phpDocumentor.howto.pkg.html#basics.desc * - * note: '@' escaping is not needed as it cannot be the first character of the line (it always starts with @testdox + * Note: '@' escaping is not needed as it cannot be the first character of the line (it always starts with @testdox). */ - assert($method->description !== null); $methodDescription = str_replace('*/', '{@*}', $method->description);