diff --git a/gatherling/models/Entry.php b/gatherling/models/Entry.php index c8a100fa3..3392ad878 100644 --- a/gatherling/models/Entry.php +++ b/gatherling/models/Entry.php @@ -210,6 +210,7 @@ public function createDeckLink() /** * @param int $byeqty + * * @return void */ public function setInitialByes($byeqty) diff --git a/gatherling/models/Event.php b/gatherling/models/Event.php index 3f1e0d916..18210dcfc 100644 --- a/gatherling/models/Event.php +++ b/gatherling/models/Event.php @@ -677,6 +677,7 @@ public function getEntries() /** * @param bool $deleteinvalid + * * @return Entry[] */ public function getRegisteredEntries($deleteinvalid = false) @@ -1245,8 +1246,9 @@ public function swissPairingBlossom($subevent_id, $skip_invalid) Standings::resetMatched($this->name); $active_entries = Entry::getActivePlayers($this->id); - if ($skip_invalid) + if ($skip_invalid) { $this->skipInvalidDecks($active_entries); + } $this->assignInitialByes($active_entries, $this->current_round + 1); $db = Database::getConnection(); diff --git a/gatherling/models/Standings.php b/gatherling/models/Standings.php index b9c3e7bc7..af8778264 100644 --- a/gatherling/models/Standings.php +++ b/gatherling/models/Standings.php @@ -328,7 +328,8 @@ public function League_getAvailable_Opponents($subevent, $round) /** * @param Entry[] $entries - * @param string $event_name + * @param string $event_name + * * @return void */ public static function startEvent($entries, $event_name)