From 64c5a000966405a4a6a5e42390c02d2ed6a32131 Mon Sep 17 00:00:00 2001 From: awcodes Date: Tue, 7 Jan 2025 17:00:21 +0000 Subject: [PATCH] Format Code --- src/TiptapConverter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TiptapConverter.php b/src/TiptapConverter.php index 504ce90..356eecf 100644 --- a/src/TiptapConverter.php +++ b/src/TiptapConverter.php @@ -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 ? [] : ''; }