*/
public function __construct( BagOStuff $store, array $client, $posIndex = null ) {
$this->store = $store;
- $this->clientId = isset( $client['clientId'] )
- ? $client['clientId']
- : md5( $client['ip'] . "\n" . $client['agent'] );
+ $this->clientId = $client['clientId'] ??
+ md5( $client['ip'] . "\n" . $client['agent'] );
$this->key = $store->makeGlobalKey( __CLASS__, $this->clientId, 'v2' );
$this->waitForPosIndex = $posIndex;