We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f837381 commit 5b4ed10Copy full SHA for 5b4ed10
src/PhpWord/Element/Section.php
@@ -10,11 +10,8 @@
10
namespace PhpOffice\PhpWord\Element;
11
12
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;
17
use PhpOffice\PhpWord\Style\Section as SectionSettings;
+use PhpOffice\PhpWord\TOC;
18
19
/**
20
* Section
@@ -177,8 +174,9 @@ public function hasDifferentFirstPage()
177
174
* Add header/footer
178
175
*
179
176
* @param string $type
180
- * @param string $header
+ * @param boolean $header
181
* @return Header|Footer
+ * @throws Exception
182
* @since 0.9.2
183
*/
184
private function addHeaderFooter($type = Header::AUTO, $header = true)
0 commit comments