Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Oct 9, 2024
1 parent 35b532a commit a883c66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/DependencyInjection/Configurator.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,12 @@ private function journal(string $currentContainerClassName): void

$week = 3600 * 24 * 7;

if ($containerLastUsedTime + $week >= $now) {
$usedInTheLastWeek[] = $className;
} else {
if ($containerLastUsedTime + $week < $now) {
continue;
}

$usedInTheLastWeek[] = $className;

if ($currentContainerClassName !== $className) {
$linesToWrite[] = sprintf('%s:%d', $className, $containerLastUsedTime);
continue;
Expand Down

0 comments on commit a883c66

Please sign in to comment.