From 8ef800c65104638cec0b5d77a7814a4ea57ea285 Mon Sep 17 00:00:00 2001 From: Arman <407448+armanist@users.noreply.github.com> Date: Fri, 3 Apr 2026 16:43:41 +0400 Subject: [PATCH] Added missing @method annotations to App and DbModel --- src/App/App.php | 2 ++ src/Model/DbModel.php | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/App/App.php b/src/App/App.php index 406ba8f3..15adf829 100644 --- a/src/App/App.php +++ b/src/App/App.php @@ -24,6 +24,8 @@ /** * Class App * @package Quantum\App + * + * @method ?int start() */ class App { diff --git a/src/Model/DbModel.php b/src/Model/DbModel.php index 468d6fe2..49820ba7 100644 --- a/src/Model/DbModel.php +++ b/src/Model/DbModel.php @@ -34,10 +34,13 @@ * @method self criteria(string $column, string $operator, $value = null) * @method self criterias(...$criterias) * @method self having(string $column, string $operator, string $value = null) + * @method self groupBy(string $column) * @method self orderBy(string $column, string $direction) * @method self offset(int $offset) * @method self limit(int $limit) * @method int count() + * @method array asArray() + * @method bool truncate() * @method bool deleteMany() * @method self joinTo(DbModel $model, bool $switch = true) * @method self isNull(string $column)