Remove use instance of deprecated class GraphQL\Schema

This commit is contained in:
Stanislav Shupilkin 2018-08-17 19:19:33 +03:00
parent cc39b3ecbf
commit 189d474633
3 changed files with 3 additions and 6 deletions

View File

@ -2,10 +2,9 @@
namespace GraphQL\Benchmarks; namespace GraphQL\Benchmarks;
use GraphQL\GraphQL; use GraphQL\GraphQL;
use GraphQL\Schema;
use GraphQL\Benchmarks\Utils\QueryGenerator; use GraphQL\Benchmarks\Utils\QueryGenerator;
use GraphQL\Benchmarks\Utils\SchemaGenerator; use GraphQL\Benchmarks\Utils\SchemaGenerator;
use GraphQL\Type\LazyResolution; use GraphQL\Type\Schema;
/** /**
* @BeforeMethods({"setUp"}) * @BeforeMethods({"setUp"})
@ -23,8 +22,6 @@ class HugeSchemaBench
private $schema; private $schema;
private $lazySchema;
/** /**
* @var string * @var string
*/ */

View File

@ -7,11 +7,11 @@ use GraphQL\Language\AST\NameNode;
use GraphQL\Language\AST\OperationDefinitionNode; use GraphQL\Language\AST\OperationDefinitionNode;
use GraphQL\Language\AST\SelectionSetNode; use GraphQL\Language\AST\SelectionSetNode;
use GraphQL\Language\Printer; use GraphQL\Language\Printer;
use GraphQL\Schema;
use GraphQL\Type\Definition\FieldDefinition; use GraphQL\Type\Definition\FieldDefinition;
use GraphQL\Type\Definition\InterfaceType; use GraphQL\Type\Definition\InterfaceType;
use GraphQL\Type\Definition\ObjectType; use GraphQL\Type\Definition\ObjectType;
use GraphQL\Type\Definition\WrappingType; use GraphQL\Type\Definition\WrappingType;
use GraphQL\Type\Schema;
use GraphQL\Utils\Utils; use GraphQL\Utils\Utils;
class QueryGenerator class QueryGenerator

View File

@ -1,11 +1,11 @@
<?php <?php
namespace GraphQL\Benchmarks\Utils; namespace GraphQL\Benchmarks\Utils;
use GraphQL\Schema;
use GraphQL\Type\Definition\EnumType; use GraphQL\Type\Definition\EnumType;
use GraphQL\Type\Definition\InputObjectType; use GraphQL\Type\Definition\InputObjectType;
use GraphQL\Type\Definition\ObjectType; use GraphQL\Type\Definition\ObjectType;
use GraphQL\Type\Definition\Type; use GraphQL\Type\Definition\Type;
use GraphQL\Type\Schema;
class SchemaGenerator class SchemaGenerator
{ {