From 5b4ed1099975754d591682966bc8b0d5a6462f90 Mon Sep 17 00:00:00 2001 From: Roman Syroeshko Date: Thu, 10 Apr 2014 11:06:39 +0400 Subject: [PATCH] [FIXED] Dockblock for https://github.com/PHPOffice/PHPWord/pull/187 --- src/PhpWord/Element/Section.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/PhpWord/Element/Section.php b/src/PhpWord/Element/Section.php index 0d7da0e5..6abbbf98 100644 --- a/src/PhpWord/Element/Section.php +++ b/src/PhpWord/Element/Section.php @@ -10,11 +10,8 @@ namespace PhpOffice\PhpWord\Element; use PhpOffice\PhpWord\Exception\Exception; -use PhpOffice\PhpWord\TOC; -use PhpOffice\PhpWord\Element\Footer; -use PhpOffice\PhpWord\Element\Header; -use PhpOffice\PhpWord\Element\PageBreak; use PhpOffice\PhpWord\Style\Section as SectionSettings; +use PhpOffice\PhpWord\TOC; /** * Section @@ -177,8 +174,9 @@ class Section extends AbstractElement * Add header/footer * * @param string $type - * @param string $header + * @param boolean $header * @return Header|Footer + * @throws Exception * @since 0.9.2 */ private function addHeaderFooter($type = Header::AUTO, $header = true)