Skip to content

Commit a4b904f

Browse files
committed
Fix PHP 5.3 compatibility
1 parent 3e507e0 commit a4b904f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/render.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ public function caseProvider()
2626
public function testJsPhpizeGeneration($returnFile, $jsFile)
2727
{
2828
$examples = __DIR__ . '/../examples';
29-
$jsPhpize = new JsPhpize([
30-
'helpers' => [
29+
$jsPhpize = new JsPhpize(array(
30+
'helpers' => array(
3131
'dot' => 'dotWithArrayPrototype',
32-
],
33-
]);
32+
),
33+
));
3434
$expected = file_get_contents($examples . '/' . $returnFile);
3535

3636
try {

0 commit comments

Comments
 (0)