Skip to content

Commit ff3f9fd

Browse files
committed
Remove FQCN type hints on properties
1 parent 2113007 commit ff3f9fd

File tree

54 files changed

+87
-87
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+87
-87
lines changed

AbstractExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ abstract class AbstractExtension implements FormExtensionInterface
3636
/**
3737
* The type guesser provided by this extension.
3838
*/
39-
private ?FormTypeGuesserInterface $typeGuesser = null;
39+
private $typeGuesser = null;
4040

4141
/**
4242
* Whether the type guesser has been loaded.

Button.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
*/
2626
class Button implements \IteratorAggregate, FormInterface
2727
{
28-
private ?FormInterface $parent = null;
29-
private FormConfigInterface $config;
28+
private $parent = null;
29+
private $config;
3030
private bool $submitted = false;
3131

3232
/**

ButtonBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class ButtonBuilder implements \IteratorAggregate, FormBuilderInterface
2929
protected $locked = false;
3030

3131
private bool $disabled = false;
32-
private ResolvedFormTypeInterface $type;
32+
private $type;
3333
private string $name;
3434
private array $attributes = [];
3535
private array $options;

ChoiceList/Factory/CachingFactoryDecorator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*/
2828
class CachingFactoryDecorator implements ChoiceListFactoryInterface, ResetInterface
2929
{
30-
private ChoiceListFactoryInterface $decoratedFactory;
30+
private $decoratedFactory;
3131

3232
/**
3333
* @var ChoiceListInterface[]

ChoiceList/Factory/PropertyAccessDecorator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
*/
3939
class PropertyAccessDecorator implements ChoiceListFactoryInterface
4040
{
41-
private ChoiceListFactoryInterface $decoratedFactory;
42-
private PropertyAccessorInterface $propertyAccessor;
41+
private $decoratedFactory;
42+
private $propertyAccessor;
4343

4444
public function __construct(ChoiceListFactoryInterface $decoratedFactory, PropertyAccessorInterface $propertyAccessor = null)
4545
{

ChoiceList/LazyChoiceList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*/
2828
class LazyChoiceList implements ChoiceListInterface
2929
{
30-
private ChoiceLoaderInterface $loader;
30+
private $loader;
3131

3232
/**
3333
* The callable creating string values for each choice.

ChoiceList/Loader/AbstractChoiceLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ abstract class AbstractChoiceLoader implements ChoiceLoaderInterface
2222
/**
2323
* The loaded choice list.
2424
*/
25-
private ArrayChoiceList $choiceList;
25+
private $choiceList;
2626

2727
/**
2828
* @final

ChoiceList/Loader/FilterChoiceLoaderDecorator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919
class FilterChoiceLoaderDecorator extends AbstractChoiceLoader
2020
{
21-
private ChoiceLoaderInterface $decoratedLoader;
21+
private $decoratedLoader;
2222
private \Closure $filter;
2323

2424
public function __construct(ChoiceLoaderInterface $loader, callable $filter)

Command/DebugCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@
3535
#[AsCommand(name: 'debug:form', description: 'Display form type information')]
3636
class DebugCommand extends Command
3737
{
38-
private FormRegistryInterface $formRegistry;
38+
private $formRegistry;
3939
private array $namespaces;
4040
private array $types;
4141
private array $extensions;
4242
private array $guessers;
43-
private ?FileLinkFormatter $fileLinkFormatter;
43+
private $fileLinkFormatter;
4444

4545
public function __construct(FormRegistryInterface $formRegistry, array $namespaces = ['Symfony\Component\Form\Extension\Core\Type'], array $types = [], array $extensions = [], array $guessers = [], FileLinkFormatter $fileLinkFormatter = null)
4646
{

Console/Descriptor/TextDescriptor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*/
2525
class TextDescriptor extends Descriptor
2626
{
27-
private ?FileLinkFormatter $fileLinkFormatter;
27+
private $fileLinkFormatter;
2828

2929
public function __construct(FileLinkFormatter $fileLinkFormatter = null)
3030
{

0 commit comments

Comments
 (0)