*/
class SquidPurgeClientPool {
/** @var array Array of SquidPurgeClient */
- protected $clients = array();
+ protected $clients = [];
/** @var int */
protected $timeout = 5;
/**
* @param array $options
*/
- function __construct( $options = array() ) {
+ function __construct( $options = [] ) {
if ( isset( $options['timeout'] ) ) {
$this->timeout = $options['timeout'];
}
$done = false;
$startTime = microtime( true );
while ( !$done ) {
- $readSockets = $writeSockets = array();
+ $readSockets = $writeSockets = [];
/**
* @var $client SquidPurgeClient
*/