mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
fix cs
This commit is contained in:
committed by
Jaap van Otterdijk
parent
763f26e8db
commit
94fd000123
@@ -86,6 +86,7 @@ class Serializer
|
|||||||
$comment .= "{$indent} * {$text}\n";
|
$comment .= "{$indent} * {$text}\n";
|
||||||
$comment .= "{$indent} *\n";
|
$comment .= "{$indent} *\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
$comment = $this->addTagBlock($docblock, $wrapLength, $indent, $comment);
|
$comment = $this->addTagBlock($docblock, $wrapLength, $indent, $comment);
|
||||||
$comment .= $indent . ' */';
|
$comment .= $indent . ' */';
|
||||||
|
|
||||||
|
|||||||
@@ -192,7 +192,7 @@ DOCCOMMENT_AFTER_REMOVE;
|
|||||||
$fixture = new Serializer(0, '', true, 15);
|
$fixture = new Serializer(0, '', true, 15);
|
||||||
$genericTag = new DocBlock\Tags\Generic('unknown-tag');
|
$genericTag = new DocBlock\Tags\Generic('unknown-tag');
|
||||||
|
|
||||||
$docBlock = new DocBlock('',null, [$genericTag]);
|
$docBlock = new DocBlock('', null, [$genericTag]);
|
||||||
$this->assertSame($expected, $fixture->getDocComment($docBlock));
|
$this->assertSame($expected, $fixture->getDocComment($docBlock));
|
||||||
|
|
||||||
$docBlock->removeTag($genericTag);
|
$docBlock->removeTag($genericTag);
|
||||||
|
|||||||
Reference in New Issue
Block a user