Skip to content

Commit

Permalink
psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrico committed Dec 9, 2022
1 parent 719d6cd commit 527f543
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,9 @@ public function doUpdatePackages(PackageInterface ...$packages): void
if ($translatablePackage === null) {
continue;
}

/** @psalm-suppress ArgumentTypeCoercion */
$downloader->download($translatablePackage, $allowedLanguages, $collector);
$processedPackages[$packageName] = true;
/** @psalm-suppress MixedOperand */
$collector->packages++;
}

Expand Down
2 changes: 1 addition & 1 deletion src/Util/Downloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function download(
$globalCollector->locked += $collector->locked;
/** @psalm-suppress MixedOperand */
$globalCollector->errors += $collector->errors;

/** @psalm-suppress ArgumentTypeCoercion */
$this->printStatsMessage($collector);
}

Expand Down

0 comments on commit 527f543

Please sign in to comment.