From 81150c59225dbf1e95bb0b4dbcfbe18346f2bdff Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Thu, 14 Dec 2017 15:24:53 +0000 Subject: [PATCH] FIX Use PHP 5.3 array syntax --- tests/control/SessionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/control/SessionTest.php b/tests/control/SessionTest.php index 3b54f6200..036de875b 100644 --- a/tests/control/SessionTest.php +++ b/tests/control/SessionTest.php @@ -113,7 +113,7 @@ class SessionTest extends SapphireTest { // Verify a started session resets our values (initiated by $_SESSION object) /** @var Session $s3 */ - $s3 = Injector::inst()->create('Session', []); + $s3 = Injector::inst()->create('Session', array()); foreach ($data as $key => $value) { $s3->inst_set($key, $value); }