Signature of the method was changed. Optional parameter should be on the last position.
This commit is contained in:
parent
e5a4e2d8b6
commit
b579007611
|
|
@ -80,10 +80,10 @@ class PHPWord_Template
|
||||||
* Applies XSL style sheet to XML template.
|
* Applies XSL style sheet to XML template.
|
||||||
*
|
*
|
||||||
* @param DOMDocument &$xslDOMDocument
|
* @param DOMDocument &$xslDOMDocument
|
||||||
* @param string $xslOptionsURI
|
|
||||||
* @param array $xslOptions
|
* @param array $xslOptions
|
||||||
|
* @param string $xslOptionsURI = ''
|
||||||
*/
|
*/
|
||||||
public function applyXslStyleSheet(&$xslDOMDocument, $xslOptionsURI = '', $xslOptions = [])
|
public function applyXslStyleSheet(&$xslDOMDocument, $xslOptions = [], $xslOptionsURI = '')
|
||||||
{
|
{
|
||||||
$processor = new \XSLTProcessor();
|
$processor = new \XSLTProcessor();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue