From 198faa48d620807541dacf84fe03a785692f1203 Mon Sep 17 00:00:00 2001 From: "behrooz shabani (everplays)" Date: Sun, 31 Jul 2016 12:31:23 +0200 Subject: [PATCH] more php 5.3 syntax fixes --- tests/Xamin/HandlebarsTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Xamin/HandlebarsTest.php b/tests/Xamin/HandlebarsTest.php index c64b0ff..fa6521a 100644 --- a/tests/Xamin/HandlebarsTest.php +++ b/tests/Xamin/HandlebarsTest.php @@ -1387,15 +1387,15 @@ EOM; { return array(array( '{{#with b}}{{#if this}}{{../a}}{{/if}}{{/with}}', - ['a' => 'good', 'b' => 'stump'], + array('a' => 'good', 'b' => 'stump'), 'good', ), array( '{{#with b}}{{#unless false}}{{../a}}{{/unless}}{{/with}}', - ['a' => 'good', 'b' => 'stump'], + array('a' => 'good', 'b' => 'stump'), 'good', ), array( '{{#with foo}}{{#if goodbye}}GOODBYE cruel {{../world}}!{{/if}}{{/with}}', - ['foo' => ['goodbye' => true], 'world' => 'world'], + array('foo' => array('goodbye' => true), 'world' => 'world'), 'GOODBYE cruel world!', )); }