Skip to content

Commit fcb39c1

Browse files
Vinczmurtukov
andauthored
Apply suggestions from code review
Co-authored-by: Timur Murtukov <murtukov@gmail.com>
1 parent f37f644 commit fcb39c1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/annotations/annotations-reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,8 @@ You can use `@Access` and/or `@IsPublic` on a provider class to add default acce
433433
Optional attributes:
434434

435435
- **prefix**: A prefix to apply to all field names from this provider
436-
- **targetTypeQuery**: The default GraphQL type(s) to attach the provider `@Query` to
437-
- **targetTypeMutation**: The default GraphQL type(s) to attach the provider `@Mutation` to
436+
- **targetQueryTypes**: The default GraphQL type(s) to attach the provider `@Query` to
437+
- **targetMutationTypes**: The default GraphQL type(s) to attach the provider `@Mutation` to
438438

439439
## @Query
440440

src/Annotation/Query.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
final class Query extends Field
1414
{
1515
/**
16-
* @deprecated
1716
* @var array<string>
17+
*
18+
* @deprecated This property is deprecated since 1.0 and will be removed in 1.1. Use $targetTypes instead.
1819
*/
1920
public array $targetType;
2021

0 commit comments

Comments
 (0)