Skip to content

Commit

Permalink
Update ParsedownToc.php
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminHoegh authored Jul 14, 2024
1 parent a74e3e7 commit 5495e00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ParsedownToc.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,9 @@ public function setTocBlacklist(array $blacklist): void
* @param string $url The url to set.
* @return void
*/
public function setTocPrefix(string $url): void
public function setTocUrl(string $url): void
{
$this->options['prefix'] = $url;
$this->options['url'] = $url;
}

/**
Expand Down

0 comments on commit 5495e00

Please sign in to comment.