Skip to content

Commit cf461cb

Browse files
committed
fix typos in book example
1 parent f0c906b commit cf461cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/books/__schema.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function () use ($authors) {
125125
new GraphQLTypeField(
126126
"search",
127127
new GraphQLList($searchResultType),
128-
"search for book or author",
128+
"Search for books and authors",
129129
function ($_, $args) use ($books, $authors) {
130130
$allResults = [];
131131
$s = $args["query"];
@@ -154,7 +154,7 @@ function ($_, $args) use ($books, $authors) {
154154
new GraphQLTypeField(
155155
"listOfBooks",
156156
new GraphQLList($bookType),
157-
"Returns a list Books based on the given list of ids.",
157+
"List of Books based on a given list of ids",
158158
function ($_, $args) use ($books) {
159159
$list = [];
160160
foreach ($args["ids"] as $id) {

0 commit comments

Comments
 (0)