Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
Helps the ide-helper complete the full namespace for the SchemaBuilder otherwise it ends up saying `GraphQL::schema()` returns an instance of `Nuwave\Lighthouse\SchemaBuilder` instead of `Nuwave\Lighthouse\Schema\SchemaBuilder`
  • Loading branch information
hailwood authored Jan 9, 2017
1 parent 0a8c034 commit 68a17e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/GraphQL.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class GraphQL
/**
* Instance of schema builder.
*
* @var SchemaBuilder
* @var Schema\SchemaBuilder
*/
protected $schema;

Expand Down Expand Up @@ -266,7 +266,7 @@ public function eagerLoad($depth = null)
/**
* Set local instance of schema.
*
* @param SchemaBuilder $schema
* @param Schema\SchemaBuilder $schema
*/
public function setSchema(SchemaBuilder $schema)
{
Expand All @@ -276,7 +276,7 @@ public function setSchema(SchemaBuilder $schema)
/**
* Get instance of schema builder.
*
* @return SchemaBuilder
* @return Schema\SchemaBuilder
*/
public function schema()
{
Expand Down

0 comments on commit 68a17e5

Please sign in to comment.