Skip to content

Commit

Permalink
Update ComputeScoreService.php
Browse files Browse the repository at this point in the history
  • Loading branch information
fiste788 committed Apr 19, 2024
1 parent 6b05809 commit 7b1a06b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Service/ComputeScoreService.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ public function exec(Score $score): void
/** @var \App\Model\Entity\Lineup|null $lineup */
$lineup = $lineupsTable->find(
'last',
$score->matchday,
$score->team->id
matchday_id: $score->matchday,
team_id: $score->team->id
)->find('withRatings', matchday_id: $score->matchday_id)->first();
} else {
/** @var \App\Model\Entity\Lineup $lineup */
Expand Down

0 comments on commit 7b1a06b

Please sign in to comment.