mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-15 02:40:52 +08:00
Fix #20619: Fix @return annotation for yii\db\Query::prepare()
This commit is contained in:
@@ -167,7 +167,7 @@ class Query extends Component implements QueryInterface, ExpressionInterface
|
||||
* This method is called by [[QueryBuilder]] when it starts to build SQL from a query object.
|
||||
* You may override this method to do some final preparation work when converting a query into a SQL statement.
|
||||
* @param QueryBuilder $builder
|
||||
* @return $this a prepared query instance which will be used by [[QueryBuilder]] to build the SQL
|
||||
* @return self a prepared query instance which will be used by [[QueryBuilder]] to build the SQL
|
||||
*/
|
||||
public function prepare($builder)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user