Skip to content

Commit df9ba69

Browse files
committed
Use shorthand array syntax
1 parent 2b187a5 commit df9ba69

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/src/SimpleSAML/Store/RedisStoreTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@ public function testRedisInstanceWithPasswordAndUsername(): void
148148
*/
149149
public function testRedisSentinelInstance(): void
150150
{
151-
$config = Configuration::loadFromArray(array(
151+
$config = Configuration::loadFromArray([
152152
'store.type' => 'redis',
153153
'store.redis.prefix' => 'phpunit_',
154154
'store.redis.mastergroup' => 'phpunit_mastergroup',
155-
'store.redis.sentinels' => array('tcp://sentinel1', 'tcp://sentinel2', 'tcp://sentinel3'),
156-
), '[ARRAY]', 'simplesaml');
155+
'store.redis.sentinels' => ['tcp://sentinel1', 'tcp://sentinel2', 'tcp://sentinel3'],
156+
], '[ARRAY]', 'simplesaml');
157157
$this->assertInstanceOf(Store\RedisStore::class, $this->store);
158158
}
159159

0 commit comments

Comments
 (0)