Fix #20619: Fix @return annotation for yii\db\Query::prepare()

This commit is contained in:
Maksim Spirkov
2025-10-15 19:58:30 +03:00
committed by GitHub
parent 63fc248912
commit 3f445ad30e
2 changed files with 3 additions and 2 deletions

View File

@@ -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)
{