mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
Update src/Factories/Annotations/TestDox.php
Co-authored-by: Owen Voke <development@voke.dev>
This commit is contained in:
committed by
GitHub
parent
9fb64599de
commit
b8cd563569
@ -18,7 +18,7 @@ final class TestDox implements AddsAnnotations
|
|||||||
* Escapes docblock according to
|
* Escapes docblock according to
|
||||||
* https://manual.phpdoc.org/HTMLframesConverter/default/phpDocumentor/tutorial_phpDocumentor.howto.pkg.html#basics.desc
|
* 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);
|
assert($method->description !== null);
|
||||||
$methodDescription = str_replace('*/', '{@*}', $method->description);
|
$methodDescription = str_replace('*/', '{@*}', $method->description);
|
||||||
|
|||||||
Reference in New Issue
Block a user