Skip to content

Commit bc91e22

Browse files
committed
chore: Run composer cs-fix to improve style
1 parent 1794878 commit bc91e22

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

src/LaunchDarkly/Impl/Integrations/RedisFeatureRequester.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<?php
2+
23
namespace LaunchDarkly\Impl\Integrations;
34

4-
use LaunchDarkly\Impl\Integrations\FeatureRequesterBase;
5-
use Predis\ClientInterface;
65
use Predis\Client;
6+
use Predis\ClientInterface;
77

88
class RedisFeatureRequester extends FeatureRequesterBase
99
{
1010
/** @var ClientInterface */
11-
var $_connection;
11+
public $_connection;
1212
/** @var array */
13-
var $_redisOptions;
13+
public $_redisOptions;
1414
/** @var string */
15-
var $_prefix;
15+
public $_prefix;
1616

1717
const DEFAULT_PREFIX = 'launchdarkly';
1818

src/LaunchDarkly/Integrations/Redis.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
namespace LaunchDarkly\Integrations;
34

45
use \LaunchDarkly\Impl\Integrations\RedisFeatureRequester;

tests/RedisFeatureRequesterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class RedisFeatureRequesterTest extends DatabaseFeatureRequesterTestBase
1313

1414
public static function setUpBeforeClass(): void
1515
{
16-
self::$predisClient = new Client(array());
16+
self::$predisClient = new Client([]);
1717
}
1818

1919
protected function clearExistingData($prefix): void

tests/RedisFeatureRequesterWithPredisOptionsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class RedisFeatureRequesterWithPredisOptionsTest extends DatabaseFeatureRequeste
1313

1414
public static function setUpBeforeClass(): void
1515
{
16-
self::$predisClient = new Client(array());
16+
self::$predisClient = new Client([]);
1717
}
1818

1919
protected function clearExistingData($prefix): void

0 commit comments

Comments
 (0)