protected $pageCountLast = 0;
protected $revCountLast = 0;
- protected $outputTypes = array();
- protected $filterTypes = array();
+ protected $outputTypes = [];
+ protected $filterTypes = [];
protected $ID = 0;
if ( $file != '' ) {
require_once $file;
}
- $register = array( $class, 'register' );
- call_user_func_array( $register, array( &$this ) );
+ $register = [ $class, 'register' ];
+ call_user_func_array( $register, [ $this ] );
}
function execute() {
*/
function processOptions() {
$sink = null;
- $sinks = array();
+ $sinks = [];
$options = $this->orderedOptions;
foreach ( $options as $arg ) {
// Discourage the server from disconnecting us if it takes a long time
// to read out the big ol' batch query.
- $db->setSessionOptions( array( 'connTimeout' => 3600 * 24 ) );
+ $db->setSessionOptions( [ 'connTimeout' => 3600 * 24 ] );
return $db;
}