Skip to content

Commit bdcbd14

Browse files
author
Roman Syroeshko
committed
https://github.com/PHPOffice/PHPWord/issues/46
FIXED (again): compatibility with PHP 5.3. FIXED (again): misprint in method name.
1 parent 1c3ebe1 commit bdcbd14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/PHPWord/TemplateTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ final public function testXslStyleSheetCanBeApplied()
2323
* @expectedExceptionMessage Could not set values for the given XSL style sheet parameters.
2424
* @test
2525
*/
26-
final public function testXsLStyleSheetCanNotBeAppliedOnFailureOfSettingParameterValue()
26+
final public function testXslStyleSheetCanNotBeAppliedOnFailureOfSettingParameterValue()
2727
{
2828
$template = new PHPWord_Template(
2929
\join(\DIRECTORY_SEPARATOR,
@@ -36,7 +36,7 @@ final public function testXsLStyleSheetCanNotBeAppliedOnFailureOfSettingParamete
3636
array(\PHPWORD_TESTS_DIR_ROOT, '_files', 'xsl', 'passthrough.xsl'))
3737
);
3838

39-
@$template->applyXslStyleSheet($xslDOMDocument, [1 => 'somevalue']);
39+
@$template->applyXslStyleSheet($xslDOMDocument, array(1 => 'somevalue'));
4040
}
4141

4242
/**

0 commit comments

Comments
 (0)