mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX Use PHP 5.3 array syntax
This commit is contained in:
parent
b6a7e47441
commit
81150c5922
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user