Skip to content

Commit b4cc457

Browse files
[Regression fix]Verify existing feed function in feed API null string issue fixed (#419)
* Verify existing feed null string issue fixed * php doc fixed
1 parent 0bbc293 commit b4cc457

File tree

1 file changed

+2
-2
lines changed
  • app/code/Meta/Catalog/Model/Product/Feed/Method

1 file changed

+2
-2
lines changed

app/code/Meta/Catalog/Model/Product/Feed/Method/FeedApi.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,11 @@ private function createNewFeedAndSave(string $catalogId, string $feedName)
173173
/**
174174
* Verify is feed exists in Meta Catalog, if not returns null
175175
*
176-
* @param string $feedId
176+
* @param string|null $feedId
177177
* @param array $catalogFeeds
178178
* @return string|null
179179
*/
180-
private function verifyFeedExistsInMetaCatalog(string $feedId, array $catalogFeeds): ?string
180+
private function verifyFeedExistsInMetaCatalog(?string $feedId, array $catalogFeeds): ?string
181181
{
182182
// make sure feed exists on meta side, not deleted
183183
if ($feedId) {

0 commit comments

Comments
 (0)