mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-22 12:56:05 +03:00
Minor fix to StarWarsSchema type language in comments
This commit is contained in:
parent
00060a142a
commit
9bf8e82d7c
@ -32,7 +32,7 @@ use GraphQL\Type\Definition\Type;
|
|||||||
* appearsIn: [Episode]
|
* appearsIn: [Episode]
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* type Human : Character {
|
* type Human implements Character {
|
||||||
* id: String!
|
* id: String!
|
||||||
* name: String
|
* name: String
|
||||||
* friends: [Character]
|
* friends: [Character]
|
||||||
@ -40,7 +40,7 @@ use GraphQL\Type\Definition\Type;
|
|||||||
* homePlanet: String
|
* homePlanet: String
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* type Droid : Character {
|
* type Droid implements Character {
|
||||||
* id: String!
|
* id: String!
|
||||||
* name: String
|
* name: String
|
||||||
* friends: [Character]
|
* friends: [Character]
|
||||||
@ -136,7 +136,7 @@ class StarWarsSchema
|
|||||||
* We define our human type, which implements the character interface.
|
* We define our human type, which implements the character interface.
|
||||||
*
|
*
|
||||||
* This implements the following type system shorthand:
|
* This implements the following type system shorthand:
|
||||||
* type Human : Character {
|
* type Human implements Character {
|
||||||
* id: String!
|
* id: String!
|
||||||
* name: String
|
* name: String
|
||||||
* friends: [Character]
|
* friends: [Character]
|
||||||
@ -197,7 +197,7 @@ class StarWarsSchema
|
|||||||
* The other type of character in Star Wars is a droid.
|
* The other type of character in Star Wars is a droid.
|
||||||
*
|
*
|
||||||
* This implements the following type system shorthand:
|
* This implements the following type system shorthand:
|
||||||
* type Droid : Character {
|
* type Droid implements Character {
|
||||||
* id: String!
|
* id: String!
|
||||||
* name: String
|
* name: String
|
||||||
* friends: [Character]
|
* friends: [Character]
|
||||||
|
Loading…
Reference in New Issue
Block a user