diff --git a/common/Factory/Model.php b/common/Factory/Model.php index c599d73..42ba8ca 100644 --- a/common/Factory/Model.php +++ b/common/Factory/Model.php @@ -86,7 +86,7 @@ class Model { ]; $this->conditions []= $cond; } - return $this->conditions; + return $this; } protected $grouping; public function group($groups): Model {