Skip to content

Commit

Permalink
docs: remove warning use statement
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka committed Mar 4, 2024
1 parent bfd759b commit 2a33b03
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@
require __DIR__.'/../vendor/autoload.php';

use ApiPlatform\Playground\Kernel;
use RuntimeException;

if (!($guide = $_SERVER['APP_GUIDE'] ?? $_ENV['APP_GUIDE'] ?? null)) {
throw new RuntimeException('No guide.');
throw new \RuntimeException('No guide.');
}

$app = function (array $context) use ($guide) {
Expand Down

0 comments on commit 2a33b03

Please sign in to comment.