Skip to content

Commit 5b4ed10

Browse files
author
Roman Syroeshko
committed
[FIXED] Dockblock for #187
1 parent f837381 commit 5b4ed10

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/PhpWord/Element/Section.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,8 @@
1010
namespace PhpOffice\PhpWord\Element;
1111

1212
use PhpOffice\PhpWord\Exception\Exception;
13-
use PhpOffice\PhpWord\TOC;
14-
use PhpOffice\PhpWord\Element\Footer;
15-
use PhpOffice\PhpWord\Element\Header;
16-
use PhpOffice\PhpWord\Element\PageBreak;
1713
use PhpOffice\PhpWord\Style\Section as SectionSettings;
14+
use PhpOffice\PhpWord\TOC;
1815

1916
/**
2017
* Section
@@ -177,8 +174,9 @@ public function hasDifferentFirstPage()
177174
* Add header/footer
178175
*
179176
* @param string $type
180-
* @param string $header
177+
* @param boolean $header
181178
* @return Header|Footer
179+
* @throws Exception
182180
* @since 0.9.2
183181
*/
184182
private function addHeaderFooter($type = Header::AUTO, $header = true)

0 commit comments

Comments
 (0)