Signature of the method was changed. Optional parameter should be on the last position.
This commit is contained in:
Roman Syroeshko 2014-03-01 08:53:19 -08:00
parent e5a4e2d8b6
commit b579007611
1 changed files with 2 additions and 2 deletions

View File

@ -80,10 +80,10 @@ class PHPWord_Template
* Applies XSL style sheet to XML template.
*
* @param DOMDocument &$xslDOMDocument
* @param string $xslOptionsURI
* @param array $xslOptions
* @param string $xslOptionsURI = ''
*/
public function applyXslStyleSheet(&$xslDOMDocument, $xslOptionsURI = '', $xslOptions = [])
public function applyXslStyleSheet(&$xslDOMDocument, $xslOptions = [], $xslOptionsURI = '')
{
$processor = new \XSLTProcessor();