Skip to content

Commit 362bc14

Browse files
committed
Remove FQCN type hints on properties
1 parent 8d9fd70 commit 362bc14

12 files changed

+13
-13
lines changed

Generator/Dumper/GeneratorDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
abstract class GeneratorDumper implements GeneratorDumperInterface
2222
{
23-
private RouteCollection $routes;
23+
private $routes;
2424

2525
public function __construct(RouteCollection $routes)
2626
{

Loader/Configurator/AliasConfigurator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
class AliasConfigurator
1818
{
19-
private Alias $alias;
19+
private $alias;
2020

2121
public function __construct(Alias $alias)
2222
{

Loader/Configurator/CollectionConfigurator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ class CollectionConfigurator
2323
use Traits\HostTrait;
2424
use Traits\RouteTrait;
2525

26-
private RouteCollection $parent;
27-
private ?CollectionConfigurator $parentConfigurator;
26+
private $parent;
27+
private $parentConfigurator;
2828
private ?array $parentPrefixes;
2929
private string|array|null $host = null;
3030

Loader/Configurator/ImportConfigurator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class ImportConfigurator
2222
use Traits\PrefixTrait;
2323
use Traits\RouteTrait;
2424

25-
private RouteCollection $parent;
25+
private $parent;
2626

2727
public function __construct(RouteCollection $parent, RouteCollection $route)
2828
{

Loader/Configurator/RoutingConfigurator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class RoutingConfigurator
2121
{
2222
use Traits\AddTrait;
2323

24-
private PhpFileLoader $loader;
24+
private $loader;
2525
private string $path;
2626
private string $file;
2727
private ?string $env;

Loader/ContainerLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
class ContainerLoader extends ObjectLoader
2222
{
23-
private ContainerInterface $container;
23+
private $container;
2424

2525
public function __construct(ContainerInterface $container, string $env = null)
2626
{

Loader/YamlFileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class YamlFileLoader extends FileLoader
3636
private const AVAILABLE_KEYS = [
3737
'resource', 'type', 'prefix', 'path', 'host', 'schemes', 'methods', 'defaults', 'requirements', 'options', 'condition', 'controller', 'name_prefix', 'trailing_slash_on_root', 'locale', 'format', 'utf8', 'exclude', 'stateless',
3838
];
39-
private YamlParser $yamlParser;
39+
private $yamlParser;
4040

4141
/**
4242
* @throws \InvalidArgumentException When a route can't be parsed because YAML is invalid

Matcher/Dumper/CompiledUrlMatcherDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*/
2727
class CompiledUrlMatcherDumper extends MatcherDumper
2828
{
29-
private ExpressionLanguage $expressionLanguage;
29+
private $expressionLanguage;
3030
private ?\Exception $signalingException = null;
3131

3232
/**

Matcher/Dumper/MatcherDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
abstract class MatcherDumper implements MatcherDumperInterface
2222
{
23-
private RouteCollection $routes;
23+
private $routes;
2424

2525
public function __construct(RouteCollection $routes)
2626
{

Matcher/ExpressionLanguageProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*/
2323
class ExpressionLanguageProvider implements ExpressionFunctionProviderInterface
2424
{
25-
private ServiceProviderInterface $functions;
25+
private $functions;
2626

2727
public function __construct(ServiceProviderInterface $functions)
2828
{

Route.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Route implements \Serializable
2727
private array $requirements = [];
2828
private array $options = [];
2929
private string $condition = '';
30-
private ?CompiledRoute $compiled = null;
30+
private $compiled = null;
3131

3232
/**
3333
* Constructor.

Router.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class Router implements RouterInterface, RequestMatcherInterface
8282
*/
8383
protected $defaultLocale;
8484

85-
private ConfigCacheFactoryInterface $configCacheFactory;
85+
private $configCacheFactory;
8686

8787
/**
8888
* @var ExpressionFunctionProviderInterface[]

0 commit comments

Comments
 (0)