@@ -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); |
@@ -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); |
@@ -131,14 +131,14 @@ |
||
131 | 131 | |
132 | 132 | public static function getEdges($value) |
133 | 133 | { |
134 | - return isset($value['edges']) ? $value['edges'] : null; |
|
134 | + return isset($value['edges']) ? $value['edges'] : null; |
|
135 | 135 | } |
136 | 136 | |
137 | 137 | public static function getPageInfo($value) { |
138 | - return isset($value['pageInfo']) ? $value['pageInfo'] : null; |
|
138 | + return isset($value['pageInfo']) ? $value['pageInfo'] : null; |
|
139 | 139 | } |
140 | 140 | |
141 | 141 | public static function getNode($value) { |
142 | - return isset($value['node']) ? $value['node'] : null; |
|
142 | + return isset($value['node']) ? $value['node'] : null; |
|
143 | 143 | } |
144 | 144 | } |