Skip to content

Commit 3c8e607

Browse files
committed
refactor(core): remove constructors from interfaces to align with SOLID
1 parent 9eac0fb commit 3c8e607

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/Service/Generator/MigrationGeneratorInterface.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@
1111

1212
interface MigrationGeneratorInterface
1313
{
14-
public function __construct(DefinitionResolverInterface $resolver, MigrationCompilerInterface $compiler);
1514

1615
public function setMigrationDir(string $migrationDir): void;
1716

1817
public function setResolver(DefinitionResolverInterface $resolver): void;
19-
18+
2019
public function getResolver(): DefinitionResolverInterface;
2120

2221
public function setCompiler(MigrationCompilerInterface $compiler): void;

src/Service/Generator/Normalization/SchemaNormalizationManagerInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
interface SchemaNormalizationManagerInterface
99
{
10-
public function __construct(iterable $processors = []);
11-
1210

1311
public function addProcessor(ProcessorInterface $processor): void;
1412

0 commit comments

Comments
 (0)