@@ -10,8 +10,6 @@ |
||
| 10 | 10 | |
| 11 | 11 | |
| 12 | 12 | use Youshido\GraphQL\Config\Schema\SchemaConfig; |
| 13 | -use Youshido\GraphQL\Type\Object\ObjectType; |
|
| 14 | -use Youshido\GraphQL\Type\TypeInterface; |
|
| 15 | 13 | |
| 16 | 14 | abstract class AbstractSchema |
| 17 | 15 | { |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | $config['mutation'] = new InternalSchemaMutationObject(['name' => $this->getName() . 'Mutation']); |
| 29 | 29 | } |
| 30 | 30 | if (!array_key_exists('types', $config)) { |
| 31 | - $config['types'] = []; |
|
| 31 | + $config['types'] = []; |
|
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | $this->config = new SchemaConfig($config, $this); |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | foreach ($value->getTypes() as $type) { |
| 48 | - $this->collectTypes($type); |
|
| 48 | + $this->collectTypes($type); |
|
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | return array_values($this->types); |