diff --git a/docs/type-system/input-types.md b/docs/type-system/input-types.md index 1b7ffc8..7138557 100644 --- a/docs/type-system/input-types.md +++ b/docs/type-system/input-types.md @@ -131,7 +131,7 @@ $queryType = new ObjectType([ 'type' => Type::listOf($storyType), 'args' => [ 'filters' => [ - 'type' => Type::nonNull($filters), + 'type' => $filters, 'defaultValue' => [ 'popular' => true ]