mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-16 11:04:27 +00:00
Getting rid of more warnings.
This commit is contained in:
@ -40,7 +40,7 @@ class IteratedTeamDifferencesInnerLayer extends TrueSkillFactorGraphLayer
|
||||
|
||||
public function createPriorSchedule(): ?ScheduleSequence
|
||||
{
|
||||
switch (is_countable($this->getInputVariablesGroups()) ? count($this->getInputVariablesGroups()) : 0) {
|
||||
switch (count($this->getInputVariablesGroups())) {
|
||||
case 0:
|
||||
case 1:
|
||||
throw new Exception('InvalidOperation');
|
||||
|
Reference in New Issue
Block a user