$this->defaultGroup = $conf['defaultGroup'] ?? null;
$this->secret = $conf['secret'] ?? '';
- static $nextId, $nextTicket;
- $this->id = $nextId = ( is_int( $nextId ) ? $nextId++ : mt_rand() );
- $this->ticket = $nextTicket = ( is_int( $nextTicket ) ? $nextTicket++ : mt_rand() );
+ $this->id = mt_rand();
+ $this->ticket = mt_rand();
}
public function destroy() {