Skip to content

Commit

Permalink
fix: php cs fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
fox-john committed Dec 17, 2024
1 parent 9230fa8 commit 6b3d2e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Service/ShopContent/BundlesService.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function getContentsForFull($offset, $limit, $langIso)
return [];
}

$this->castBundles($result, $langIso);
$this->castBundles($result);

return array_map(function ($item) {
return [
Expand All @@ -82,7 +82,7 @@ public function getContentsForIncremental($limit, $upsertedContents, $deletedCon
$result = $this->bundleRepository->retrieveContentsForIncremental($limit, array_column($upsertedContents, 'id'), $langIso);

if (!empty($result)) {
$this->castBundles($result, $langIso);
$this->castBundles($result);
}

return parent::formatIncrementalSyncResponse(Config::COLLECTION_BUNDLES, $result, $deletedContents);
Expand Down

0 comments on commit 6b3d2e1

Please sign in to comment.