Skip to content

Commit c55b2da

Browse files
authored
Implicitly marking parameter $name as nullable is deprecated fix
1 parent f8dc398 commit c55b2da

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Console/Command/CleanUpAttributesAndValuesWithoutParentCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class CleanUpAttributesAndValuesWithoutParentCommand extends Command
3535
public function __construct(
3636
ResourceConnection $resourceConnection,
3737
EavEntityTypeCollectionFactory $eavEntityTypeCollectionFactory,
38-
string $name = null
38+
?string $name = null
3939
) {
4040
parent::__construct($name);
4141
$this->resourceConnection = $resourceConnection;

Console/Command/RemoveUnusedAttributesCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function __construct(
4040
ResourceConnection $resourceConnection,
4141
AttributeRepositoryInterface $attributeRepository,
4242
SearchCriteriaBuilderFactory $searchCriteriaBuilderFactory,
43-
string $name = null
43+
?string $name = null
4444
) {
4545
parent::__construct($name);
4646
$this->resourceConnection = $resourceConnection;

Console/Command/RemoveUnusedMediaCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function __construct(
5151
Filesystem $filesystem,
5252
ResourceConnection $resourceConnection,
5353
DriverInterface $driver,
54-
string $name = null
54+
?string $name = null
5555
) {
5656
parent::__construct($name);
5757
$this->resourceConnection = $resourceConnection;

Console/Command/RestoreUseDefaultConfigValueCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function __construct(
4545
Reader $configReader,
4646
IteratorFactory $iteratorFactory,
4747
ResourceConnection $resourceConnection,
48-
string $name = null
48+
?string $name = null
4949
) {
5050
parent::__construct($name);
5151

Console/Command/RestoreUseDefaultValueCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function __construct(
4141
IteratorFactory $iteratorFactory,
4242
ProductMetaDataInterface $productMetaData,
4343
ResourceConnection $resourceConnection,
44-
string $name = null
44+
?string $name = null
4545
) {
4646
parent::__construct($name);
4747

0 commit comments

Comments
 (0)