This commit is contained in:
salam committed 2026-09-12 16:46:17 +02:00
1 parent a6b080248a
commit e896b51f52
1 file changed
+4 -4
+4 -4
View File
@@ -48,7 +48,7 @@ trait UpdateHelper
try {
$this->updatePlayers($playerCount);
} catch (\Exception $e) {
$this->error(get_class($e).' '.Str::of($e->getMessage())->limit(100)->value());
$this->error(get_class($e) . ' ' . Str::of($e->getMessage())->limit(100)->value());
}
if ($this->debug) {
@@ -97,8 +97,8 @@ trait UpdateHelper
$formattedTime = match (true) {
$executionTime >= 60 => sprintf('%dm %ds', floor($executionTime / 60), $executionTime % 60),
$executionTime >= 1 => round($executionTime, 2).'s',
default => round($executionTime * 1000).'ms',
$executionTime >= 1 => round($executionTime, 2) . 's',
default => round($executionTime * 1000) . 'ms',
};
$this->newLine();
@@ -151,7 +151,7 @@ trait UpdateHelper
} elseif ($activeteam_id == $away_id) {
$collection[$season][$ss_player_id]['events_played_away'] += 1;
$collection[$season][$ss_player_id]['minutes_played_away'] += $minutes_played;
$collection['total'][$ss_player_id]['minutes_played_away'] += 1;
$collection['total'][$ss_player_id]['events_played_away'] += 1;
$collection['total'][$ss_player_id]['minutes_played_away'] += $minutes_played;
}