FIX Use PHP 5.3 array syntax

This commit is contained in:
Daniel Hensby 2017-12-14 15:24:53 +00:00
parent b6a7e47441
commit 81150c5922
No known key found for this signature in database
GPG Key ID: B00D1E9767F0B06E

View File

@ -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);
}