thecodingmachine / graphqlite

Use PHP Attributes/Annotations to declare your GraphQL API
https://graphqlite.thecodingmachine.io
MIT License
555 stars 95 forks source link

Doc: Fix UseInputType example as an attribute #608

Closed cvergne closed 1 year ago

cvergne commented 1 year ago

Hi,

A very small contribution about the documentation of UseInputType attribute.

The current documentation shows the use of UseInputType attribute in the same way than before with annotation by targeting method instead of parameter.

The for parameter doesn't exists in the Attribute (unlike the annotation), and the whole attribute should be moved just before the targeted parameter.

oojacoboo commented 1 year ago

@cvergne thanks for the PR!