Skip to content

Commit 9df0b92

Browse files
committed
Remove FQCN type hints on properties
1 parent a867d0f commit 9df0b92

13 files changed

+20
-20
lines changed

ExpressionRequestMatcher.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
*/
2222
class ExpressionRequestMatcher extends RequestMatcher
2323
{
24-
private ExpressionLanguage $language;
25-
private Expression|string $expression;
24+
private $language;
25+
private $expression;
2626

2727
public function setExpression(ExpressionLanguage $language, Expression|string $expression)
2828
{

Session/SessionBagProxy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919
final class SessionBagProxy implements SessionBagInterface
2020
{
21-
private SessionBagInterface $bag;
21+
private $bag;
2222
private array $data;
2323
private ?int $usageIndex;
2424
private ?\Closure $usageReporter;

Session/SessionFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ class_exists(Session::class);
2222
*/
2323
class SessionFactory implements SessionFactoryInterface
2424
{
25-
private RequestStack $requestStack;
26-
private SessionStorageFactoryInterface $storageFactory;
25+
private $requestStack;
26+
private $storageFactory;
2727
private ?\Closure $usageReporter;
2828

2929
public function __construct(RequestStack $requestStack, SessionStorageFactoryInterface $storageFactory, callable $usageReporter = null)

Session/Storage/Handler/MarshallingSessionHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
*/
1919
class MarshallingSessionHandler implements \SessionHandlerInterface, \SessionUpdateTimestampHandlerInterface
2020
{
21-
private AbstractSessionHandler $handler;
22-
private MarshallerInterface $marshaller;
21+
private $handler;
22+
private $marshaller;
2323

2424
public function __construct(AbstractSessionHandler $handler, MarshallerInterface $marshaller)
2525
{

Session/Storage/Handler/MemcachedSessionHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*/
2222
class MemcachedSessionHandler extends AbstractSessionHandler
2323
{
24-
private \Memcached $memcached;
24+
private $memcached;
2525

2626
/**
2727
* Time to live in seconds.

Session/Storage/Handler/MongoDbSessionHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
*/
2727
class MongoDbSessionHandler extends AbstractSessionHandler
2828
{
29-
private Client $mongo;
30-
private Collection $collection;
29+
private $mongo;
30+
private $collection;
3131
private array $options;
3232

3333
/**

Session/Storage/Handler/PdoSessionHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class PdoSessionHandler extends AbstractSessionHandler
6565
*/
6666
public const LOCK_TRANSACTIONAL = 2;
6767

68-
private \PDO $pdo;
68+
private $pdo;
6969

7070
/**
7171
* DSN string or null for session.save_path or false when lazy connection disabled.

Session/Storage/Handler/RedisSessionHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*/
2424
class RedisSessionHandler extends AbstractSessionHandler
2525
{
26-
private \Redis|\RedisArray|\RedisCluster|\Predis\ClientInterface|RedisProxy|RedisClusterProxy $redis;
26+
private $redis;
2727

2828
/**
2929
* Key prefix for shared environments.

Session/Storage/MockFileSessionStorageFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class MockFileSessionStorageFactory implements SessionStorageFactoryInterface
2323
{
2424
private ?string $savePath;
2525
private string $name;
26-
private ?MetadataBag $metaBag;
26+
private $metaBag;
2727

2828
/**
2929
* @see MockFileSessionStorage constructor.

Session/Storage/NativeSessionStorageFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ class_exists(NativeSessionStorage::class);
2323
class NativeSessionStorageFactory implements SessionStorageFactoryInterface
2424
{
2525
private array $options;
26-
private AbstractProxy|\SessionHandlerInterface|null $handler;
27-
private ?MetadataBag $metaBag;
26+
private $handler;
27+
private $metaBag;
2828
private bool $secure;
2929

3030
/**

0 commit comments

Comments
 (0)