mirror of
https://github.com/danog/phpdoc.git
synced 2024-11-30 04:29:12 +01:00
Fix
This commit is contained in:
parent
3e6bf3b50f
commit
9112c1537f
@ -162,7 +162,7 @@ class MethodDoc extends GenericDoc
|
|||||||
*/
|
*/
|
||||||
public function getSignatureAnchor(): string
|
public function getSignatureAnchor(): string
|
||||||
{
|
{
|
||||||
$sig = $this->name;
|
$sig = $this->getSignature();
|
||||||
$sigLink = \strtolower($sig);
|
$sigLink = \strtolower($sig);
|
||||||
$sigLink = \preg_replace('/[^\w ]+/', ' ', $sigLink);
|
$sigLink = \preg_replace('/[^\w ]+/', ' ', $sigLink);
|
||||||
$sigLink = \preg_replace('/ +/', ' ', $sigLink);
|
$sigLink = \preg_replace('/ +/', ' ', $sigLink);
|
||||||
|
Loading…
Reference in New Issue
Block a user