Update src/Factories/Annotations/TestDox.php

Co-authored-by: Owen Voke <development@voke.dev>
This commit is contained in:
Sarfaraz Muhammad Sajib
2023-10-16 16:23:09 +06:00
committed by GitHub
parent 9fb64599de
commit b8cd563569

View File

@ -18,7 +18,7 @@ final class TestDox implements AddsAnnotations
* 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);