diff --git a/flight/Flight.php b/flight/Flight.php index f79253e..1c64826 100644 --- a/flight/Flight.php +++ b/flight/Flight.php @@ -36,6 +36,9 @@ require_once __DIR__ . '/autoload.php'; * # Class registration * @method EventDispatcher eventDispatcher() Gets event dispatcher * + * # Class registration + * @method EventDispatcher eventDispatcher() Gets event dispatcher + * * # Routing * @method static Route route(string $pattern, callable|string|array{0: class-string, 1: string} $callback, bool $pass_route = false, string $alias = '') * Maps a URL pattern to a callback with all applicable methods. diff --git a/tests/EngineTest.php b/tests/EngineTest.php index 553d7d7..edf81f5 100644 --- a/tests/EngineTest.php +++ b/tests/EngineTest.php @@ -12,6 +12,7 @@ use flight\net\Response; use flight\util\Collection; use InvalidArgumentException; use JsonException; +use PDOException; use PHPUnit\Framework\TestCase; use tests\classes\Container; use tests\classes\ContainerDefault;