Skip to content
This repository was archived by the owner on Jul 22, 2021. It is now read-only.

Commit d36a953

Browse files
committed
Some minor fixes
1 parent b2803b3 commit d36a953

File tree

5 files changed

+3
-13
lines changed

5 files changed

+3
-13
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
graphql/*.graphql

classes/SchemaBuilder.php

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use Uit\Lighthouse\Models\Schema;
88
use Uit\Lighthouse\Models\Settings;
99

10+
1011
class SchemaBuilder
1112
{
1213
public static function build()

graphql/.gitkeep

Whitespace-only changes.

graphql/schema.graphql

-10
This file was deleted.

rules/ValidSchema.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
class ValidSchema implements Rule
1212
{
13-
private $exception;
14-
1513
/**
1614
* Determine if the validation rule passes.
1715
*
@@ -57,6 +55,6 @@ public function validate($attribute, $value, $params)
5755
*/
5856
public function message()
5957
{
60-
return $this->exception->getMessage();
58+
return "The defined schema is not valid";
6159
}
6260
}

0 commit comments

Comments
 (0)