Skip to content

Commit

Permalink
fixup! fixup! PES-2404: Fixes reported by phpstan level 6 in Packeter…
Browse files Browse the repository at this point in the history
…y/Module - Updated arrays and return types for better code clarity and static analysis accuracy. Removed unnecessary method parameter in TranslationTrait.
  • Loading branch information
Karpec committed Dec 5, 2024
1 parent d40dc42 commit b916464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Packetery/Module/Upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ private function migrateWpOrderMetadata(): void {
],
]
);
// is iterable? throw exception if not?

foreach ( $orders as $order ) {
$orderEntity = new Core\Entity\Order(
(string) $order->get_id(),
Expand Down

0 comments on commit b916464

Please sign in to comment.