Skip to content

Commit

Permalink
✨ New multi-progression functionality
Browse files Browse the repository at this point in the history
Signed-off-by: Tomáš Vojík <vojik@wboy.cz>
  • Loading branch information
Heroyt committed Dec 9, 2023
1 parent 6b77b32 commit 111c393
Show file tree
Hide file tree
Showing 10 changed files with 1,423 additions and 932 deletions.
Binary file modified build/coverage.serialized
Binary file not shown.
1,549 changes: 822 additions & 727 deletions build/coverage.xml

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions src/TournamentGenerator/BlankTeam.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace TournamentGenerator;

use TournamentGenerator\Interfaces\ProgressionInterface;

/**
* Blank / dummy team used for simulating the games
*
Expand All @@ -19,7 +21,7 @@ class BlankTeam extends Team
/** @var Group A group that it was generated from during progression */
protected Group $from;
/** @var Progression A progression object that generated this dummy team */
protected Progression $progression;
protected ProgressionInterface $progression;

/**
* BlankTeam constructor.
Expand All @@ -29,7 +31,7 @@ class BlankTeam extends Team
* @param Group $from A group that the original team was playing in
* @param Progression $progression A progression object that created this team
*/
public function __construct(string $name, Team $original, Group $from, Progression $progression) {
public function __construct(string $name, Team $original, Group $from, ProgressionInterface $progression) {
$this->groupResults = $original->groupResults;
$this->from = $from;
$this->progression = $progression;
Expand Down
Loading

0 comments on commit 111c393

Please sign in to comment.