[FIXED] Wrong use of passing by reference.

This commit is contained in:
Roman Syroeshko 2014-07-04 16:52:39 +04:00
parent 7bbe1ed620
commit 197c6ec0b3
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ abstract class AbstractElement
* @param \PhpOffice\PhpWord\PhpWord $phpWord
* @return void
*/
public function setPhpWord(PhpWord $phpWord)
public function setPhpWord(PhpWord $phpWord = null)
{
$this->phpWord = $phpWord;
}