Skip to content

Commit 9ca4948

Browse files
committed
Remove FQCN type hints on properties
1 parent f4a219b commit 9ca4948

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

Command/Descriptor/CliDescriptor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*/
2727
class CliDescriptor implements DumpDescriptorInterface
2828
{
29-
private CliDumper $dumper;
29+
private $dumper;
3030
private mixed $lastIdentifier = null;
3131

3232
public function __construct(CliDumper $dumper)

Command/Descriptor/HtmlDescriptor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*/
2525
class HtmlDescriptor implements DumpDescriptorInterface
2626
{
27-
private HtmlDumper $dumper;
27+
private $dumper;
2828
private bool $initialized = false;
2929

3030
public function __construct(HtmlDumper $dumper)

Command/ServerDumpCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
#[AsCommand(name: 'server:dump', description: 'Start a dump server that collects and displays dumps in a single place')]
3939
class ServerDumpCommand extends Command
4040
{
41-
private DumpServer $server;
41+
private $server;
4242

4343
/** @var DumpDescriptorInterface[] */
4444
private array $descriptors;

Dumper/ContextProvider/RequestContextProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
*/
2323
final class RequestContextProvider implements ContextProviderInterface
2424
{
25-
private RequestStack $requestStack;
26-
private VarCloner $cloner;
25+
private $requestStack;
26+
private $cloner;
2727

2828
public function __construct(RequestStack $requestStack)
2929
{

Dumper/ContextProvider/SourceContextProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ final class SourceContextProvider implements ContextProviderInterface
2828
private int $limit;
2929
private ?string $charset;
3030
private ?string $projectDir;
31-
private ?FileLinkFormatter $fileLinkFormatter;
31+
private $fileLinkFormatter;
3232

3333
public function __construct(string $charset = null, string $projectDir = null, FileLinkFormatter $fileLinkFormatter = null, int $limit = 9)
3434
{

Dumper/ContextualizedDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*/
2020
class ContextualizedDumper implements DataDumperInterface
2121
{
22-
private DataDumperInterface $wrappedDumper;
22+
private $wrappedDumper;
2323
private array $contextProviders;
2424

2525
/**

Dumper/ServerDumper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
*/
2323
class ServerDumper implements DataDumperInterface
2424
{
25-
private Connection $connection;
26-
private ?DataDumperInterface $wrappedDumper;
25+
private $connection;
26+
private $wrappedDumper;
2727

2828
/**
2929
* @param string $host The server host

Server/DumpServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
class DumpServer
2626
{
2727
private string $host;
28-
private ?LoggerInterface $logger;
28+
private $logger;
2929

3030
/**
3131
* @var resource|null

Tests/Fixtures/Php81Enums.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
class Php81Enums
66
{
7-
public UnitEnumFixture $e1;
8-
public BackedEnumFixture $e2;
7+
public $e1;
8+
public $e2;
99

1010
public function __construct()
1111
{

0 commit comments

Comments
 (0)