From 38a6df91b9e0f2fd3b5210b70b16a67b04856b66 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 29 Jul 2014 11:10:49 +0200 Subject: [PATCH] doc/DocParser: Rename 'chapterName' to 'chapterTitle' refs #4820 --- modules/doc/library/Doc/DocParser.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/doc/library/Doc/DocParser.php b/modules/doc/library/Doc/DocParser.php index b74a0b377..12ec373fc 100644 --- a/modules/doc/library/Doc/DocParser.php +++ b/modules/doc/library/Doc/DocParser.php @@ -150,12 +150,12 @@ class DocParser $nofollow = false; } if ($stack->isEmpty()) { - $chapterName = $header; - $section = new Section($id, $header, $level, $nofollow, $chapterName); + $chapterTitle = $header; + $section = new Section($id, $header, $level, $nofollow, $chapterTitle); $tree->addRoot($section); } else { - $chapterName = $stack->bottom()->getTitle(); - $section = new Section($id, $header, $level, $nofollow, $chapterName); + $chapterTitle = $stack->bottom()->getTitle(); + $section = new Section($id, $header, $level, $nofollow, $chapterTitle); $tree->addChild($section, $stack->top()); } $stack->push($section);