includes/user/TempUser/DBSerialProvider.php
Method acquireIndex
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function acquireIndex( int $year = 0 ): int {
if ( $this->numShards ) {
$shard = mt_rand( 0, $this->numShards - 1 );
} else {
$shard = 0;