This commit is contained in:
Roman Syroeshko 2014-04-10 11:06:39 +04:00
parent f837381238
commit 5b4ed10999
1 changed files with 3 additions and 5 deletions

View File

@ -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)