Skip to content

Commit

Permalink
Format Code
Browse files Browse the repository at this point in the history
  • Loading branch information
awcodes authored and github-actions[bot] committed Jan 7, 2025
1 parent ca3a532 commit 64c5a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TiptapConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public function asTOC(string | array | null $content, int $maxDepth = 3, bool $a

$headings = $this->parseTocHeadings($content['content'], $maxDepth);

if(empty($headings)) {
if (empty($headings)) {
return $array ? [] : '';
}

Expand Down

0 comments on commit 64c5a00

Please sign in to comment.