From 1c886fb38505814bb39d890adefc4d4598e0ccfe Mon Sep 17 00:00:00 2001 From: Dariusz Date: Sun, 7 Mar 2021 11:17:21 +0100 Subject: [PATCH] model --- demo/Model/Job.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demo/Model/Job.php b/demo/Model/Job.php index 27e0a4e..f3cb9ca 100644 --- a/demo/Model/Job.php +++ b/demo/Model/Job.php @@ -5,11 +5,12 @@ namespace Fufle\Demo\Model; use Fufle\Demo\Query\IJobQuery; use Fufle\Demo\Query\JobQuery; use Fufle\ORM\Model as BaseModel; +use Fufle\ORM\IQuery; class Job extends BaseModel { public int $id; public float $budget; - public static function SetQueryModel() { + public static function SetQueryModel(): IQuery { return new JobQuery( static::class ); }