Skip to content

Commit cf013d4

Browse files
committed
Remove FQCN type hints on properties
1 parent 3c0c460 commit cf013d4

11 files changed

+13
-13
lines changed

Lock.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ final class Lock implements SharedLockInterface, LoggerAwareInterface
2929
{
3030
use LoggerAwareTrait;
3131

32-
private PersistingStoreInterface $store;
33-
private Key $key;
32+
private $store;
33+
private $key;
3434
private ?float $ttl;
3535
private bool $autoRelease;
3636
private bool $dirty = false;

LockFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class LockFactory implements LoggerAwareInterface
2525
{
2626
use LoggerAwareTrait;
2727

28-
private PersistingStoreInterface $store;
28+
private $store;
2929

3030
public function __construct(PersistingStoreInterface $store)
3131
{

Store/CombinedStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class CombinedStore implements SharedLockStoreInterface, LoggerAwareInterface
3333

3434
/** @var PersistingStoreInterface[] */
3535
private array $stores;
36-
private StrategyInterface $strategy;
36+
private $strategy;
3737

3838
/**
3939
* @param PersistingStoreInterface[] $stores The list of synchronized stores

Store/DoctrineDbalPostgreSqlStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
*/
3030
class DoctrineDbalPostgreSqlStore implements BlockingSharedLockStoreInterface, BlockingStoreInterface
3131
{
32-
private Connection $conn;
32+
private $conn;
3333
private static $storeRegistry = [];
3434

3535
/**

Store/DoctrineDbalStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class DoctrineDbalStore implements PersistingStoreInterface
4141
use DatabaseTableTrait;
4242
use ExpiringStoreTrait;
4343

44-
private Connection $conn;
44+
private $conn;
4545

4646
/**
4747
* List of available options:

Store/MemcachedStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class MemcachedStore implements PersistingStoreInterface
2626
{
2727
use ExpiringStoreTrait;
2828

29-
private \Memcached $memcached;
29+
private $memcached;
3030
private int $initialTtl;
3131
private bool $useExtendedReturn;
3232

Store/MongoDbStore.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ class MongoDbStore implements PersistingStoreInterface
4949
{
5050
use ExpiringStoreTrait;
5151

52-
private Collection $collection;
53-
private Client $client;
52+
private $collection;
53+
private $client;
5454
private string $uri;
5555
private array $options;
5656
private float $initialTtl;

Store/PdoStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class PdoStore implements PersistingStoreInterface
3535
use DatabaseTableTrait;
3636
use ExpiringStoreTrait;
3737

38-
private \PDO $conn;
38+
private $conn;
3939
private string $dsn;
4040
private string $driver;
4141
private string $username = '';

Store/PostgreSqlStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*/
2727
class PostgreSqlStore implements BlockingSharedLockStoreInterface, BlockingStoreInterface
2828
{
29-
private \PDO $conn;
29+
private $conn;
3030
private string $dsn;
3131
private string $username = '';
3232
private string $password = '';

Store/RedisStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class RedisStore implements SharedLockStoreInterface
3131
{
3232
use ExpiringStoreTrait;
3333

34-
private \Redis|\RedisArray|\RedisCluster|\Predis\ClientInterface|RedisProxy|RedisClusterProxy $redis;
34+
private $redis;
3535
private float $initialTtl;
3636
private bool $supportTime;
3737

Store/ZookeeperStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class ZookeeperStore implements PersistingStoreInterface
2727
{
2828
use ExpiringStoreTrait;
2929

30-
private \Zookeeper $zookeeper;
30+
private $zookeeper;
3131

3232
public function __construct(\Zookeeper $zookeeper)
3333
{

0 commit comments

Comments
 (0)