Skip to content

Commit 07f3378

Browse files
committed
Remove deprecated field type definition webonyx/graphql-php#35
1 parent 37bcc08 commit 07f3378

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Connection/Connection.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,7 @@ public static function createConnectionType(array $config)
104104
'description' => 'Information to aid in pagination.'
105105
],
106106
'edges' => [
107-
'type' => function() use ($edgeType, $config) {
108-
return Type::listOf($edgeType ?: self::createEdgeType($config));
109-
},
107+
'type' => Type::listOf($edgeType ?: self::createEdgeType($config)),
110108
'description' => 'Information to aid in pagination'
111109
]
112110
], self::resolveMaybeThunk($connectionFields));

0 commit comments

Comments
 (0)