diff --git a/modules/doc/library/Doc/SectionFilterIterator.php b/modules/doc/library/Doc/DocSectionFilterIterator.php similarity index 95% rename from modules/doc/library/Doc/SectionFilterIterator.php rename to modules/doc/library/Doc/DocSectionFilterIterator.php index 77171a5c8..1087d1584 100644 --- a/modules/doc/library/Doc/SectionFilterIterator.php +++ b/modules/doc/library/Doc/DocSectionFilterIterator.php @@ -14,7 +14,7 @@ use Icinga\Data\Tree\TreeNodeIterator; * {@inheritdoc} * } */ -class SectionFilterIterator extends RecursiveFilterIterator implements Countable +class DocSectionFilterIterator extends RecursiveFilterIterator implements Countable { /** * Chapter to filter for diff --git a/modules/doc/library/Doc/DocSectionRenderer.php b/modules/doc/library/Doc/DocSectionRenderer.php index 1665468c1..f03474b4a 100644 --- a/modules/doc/library/Doc/DocSectionRenderer.php +++ b/modules/doc/library/Doc/DocSectionRenderer.php @@ -61,7 +61,7 @@ class DocSectionRenderer extends DocRenderer public function __construct(SimpleTree $tree, $chapter = null) { if ($chapter !== null) { - $filter = new SectionFilterIterator($tree->getIterator(), $chapter); + $filter = new DocSectionFilterIterator($tree->getIterator(), $chapter); if ($filter->isEmpty()) { throw new ChapterNotFoundException( mt('doc', 'Chapter %s not found'), $chapter