From 7482506270abf83da0b03e4c2b1157515156cc41 Mon Sep 17 00:00:00 2001 From: fadrian06 Date: Sun, 16 Aug 2026 01:14:29 -0400 Subject: [PATCH] remove EngineTemplate --- flight/Engine.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flight/Engine.php b/flight/Engine.php index 372f952..3666633 100644 --- a/flight/Engine.php +++ b/flight/Engine.php @@ -57,7 +57,7 @@ use Psr\Container\ContainerInterface; * @method void lastModified(int $time) * @method void download(string $filePath) * - * @phpstan-method void registerContainerHandler(ContainerInterface|callable(class-string $id, array $params): ?EngineTemplate $containerHandler) + * @phpstan-method void registerContainerHandler(ContainerInterface|callable(class-string $id, array $params): ?object $containerHandler) * @phpstan-method Route route(string $pattern, callable|string|array{0: class-string, 1: string} $callback, bool $pass_route = false, string $alias = '') * @phpstan-method void group(string $pattern, callable $callback, (class-string|callable|array{0: class-string, 1: string})[] $group_middlewares = []) * @phpstan-method Route post(string $pattern, callable|string|array{0: class-string, 1: string} $callback, bool $pass_route = false, string $alias = '') @@ -117,7 +117,7 @@ class Engine /** Class loader. */ protected Loader $loader; - /** @var Dispatcher Method and class dispatcher. */ + /** Method and class dispatcher. */ protected Dispatcher $dispatcher; /** Event dispatcher. */