Skip to content

Commit

Permalink
🔧 修正(Model.php):更新Query方法的返回類型,新增iterable泛型支援
Browse files Browse the repository at this point in the history
  • Loading branch information
mathsgod committed Jun 25, 2024
1 parent ddd07f9 commit f120bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ function __call($class_name, $args)


/**
* @return Query<static>
* @return Query<static> & iterable<static>
* @param Where|\Closure|string|array|Predicate\PredicateInterface $predicate
*/
static function Query($predicate = null, $combination = Predicate\PredicateSet::OP_AND)
Expand Down

0 comments on commit f120bfb

Please sign in to comment.