Add visibility for all class elements (#20557)

This commit is contained in:
Maksim Spirkov
2025-10-02 02:27:23 +04:00
committed by GitHub
parent 813dfc07cc
commit c82da8dc82
73 changed files with 328 additions and 331 deletions

View File

@ -35,17 +35,17 @@ class BatchQueryResult extends Component implements \Iterator
* @see reset()
* @since 2.0.41
*/
const EVENT_RESET = 'reset';
public const EVENT_RESET = 'reset';
/**
* @event Event an event that is triggered when the last batch has been fetched.
* @since 2.0.41
*/
const EVENT_FINISH = 'finish';
public const EVENT_FINISH = 'finish';
/**
* MSSQL error code for exception that is thrown when last batch is size less than specified batch size
* @see https://github.com/yiisoft/yii2/issues/10023
*/
const MSSQL_NO_MORE_ROWS_ERROR_CODE = -13;
public const MSSQL_NO_MORE_ROWS_ERROR_CODE = -13;
/**
* @var Connection|null the DB connection to be used when performing batch query.