Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Nov 1, 2023
1 parent 83f8f6b commit 9a7d178
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions gatherling/models/Entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ public function createDeckLink()

/**
* @param int $byeqty
*
* @return void
*/
public function setInitialByes($byeqty)
Expand Down
4 changes: 3 additions & 1 deletion gatherling/models/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,7 @@ public function getEntries()

/**
* @param bool $deleteinvalid
*
* @return Entry[]
*/
public function getRegisteredEntries($deleteinvalid = false)
Expand Down Expand Up @@ -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();
Expand Down
3 changes: 2 additions & 1 deletion gatherling/models/Standings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9a7d178

Please sign in to comment.