Skip to content

Commit 782c18f

Browse files
authored
Use SchemaBuilderInterface in GraphQlExportCommand (#3470)
1 parent 48fc5bb commit 782c18f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Bridge/Symfony/Bundle/Command/GraphQlExportCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
namespace ApiPlatform\Core\Bridge\Symfony\Bundle\Command;
1515

16-
use ApiPlatform\Core\GraphQl\Type\SchemaBuilder;
16+
use ApiPlatform\Core\GraphQl\Type\SchemaBuilderInterface;
1717
use GraphQL\Utils\SchemaPrinter;
1818
use Symfony\Component\Console\Command\Command;
1919
use Symfony\Component\Console\Input\InputInterface;
@@ -34,7 +34,7 @@ class GraphQlExportCommand extends Command
3434

3535
private $schemaBuilder;
3636

37-
public function __construct(SchemaBuilder $schemaBuilder)
37+
public function __construct(SchemaBuilderInterface $schemaBuilder)
3838
{
3939
$this->schemaBuilder = $schemaBuilder;
4040

0 commit comments

Comments
 (0)