Skip to content

Commit dccfe6a

Browse files
committed
Fix PHP 5.3 compatibility
1 parent dae738d commit dccfe6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JsPhpize/JsPhpizeOptions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function getVarPrefix()
107107
*/
108108
public function getHelperName($key)
109109
{
110-
$helpers = $this->getOption('helpers', []);
110+
$helpers = $this->getOption('helpers', array());
111111

112112
return is_array($helpers) && isset($helpers[$key])
113113
? $helpers[$key]

0 commit comments

Comments
 (0)