@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | } |
10 | 10 | if ($_SERVER['REQUEST_URI'] == '/graphiql.css') { |
11 | 11 | header('Content-Type: text/css'); |
12 | - readfile(__DIR__ . '/../GraphiQL/graphiql.css'); |
|
12 | + readfile(__DIR__.'/../GraphiQL/graphiql.css'); |
|
13 | 13 | die(); |
14 | 14 | } |
15 | 15 | |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | use Youshido\GraphQL\Execution\Processor; |
18 | 18 | use Youshido\GraphQL\Schema\Schema; |
19 | 19 | |
20 | -require_once __DIR__ . '/schema-bootstrap.php'; |
|
20 | +require_once __DIR__.'/schema-bootstrap.php'; |
|
21 | 21 | /** @var Schema $schema */ |
22 | 22 | $schema = new StarWarsRelaySchema(); |
23 | 23 | |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | $variables = isset($requestData['variables']) ? $requestData['variables'] : null; |
35 | 35 | |
36 | 36 | if (empty($payload)) { |
37 | - $GraphiQLData = file_get_contents(__DIR__ . '/../GraphiQL/index.html'); |
|
37 | + $GraphiQLData = file_get_contents(__DIR__.'/../GraphiQL/index.html'); |
|
38 | 38 | echo $GraphiQLData; |
39 | 39 | die(); |
40 | 40 | } |