Skip to content

Commit 7bf905e

Browse files
yang17Yang Ming
andauthored
fix broken error in read api by mixed class not not (#586)
* fix broken error in read api by mixed class not not --------- Co-authored-by: Yang Ming <[email protected]>
1 parent e2a98a3 commit 7bf905e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/code/Meta/BusinessExtension/Api/SettingsWebhookListenerInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function processSettingsWebhookRequest(array $settingsWebhookRequest);
1818
* Process settings GET request
1919
*
2020
* @param string $externalBusinessId
21-
* @return mixed
21+
* @return \Meta\BusinessExtension\Api\CoreConfigInterface
2222
*/
23-
public function getCoreConfig(string $externalBusinessId);
23+
public function getCoreConfig(string $externalBusinessId):CoreConfigInterface;
2424
}

app/code/Meta/BusinessExtension/Model/Api/SettingsWebhookListenerImpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ private function getMBEInstalledConfigsByExternalBusinessId(string $externalBusi
240240
* Process webhook GET request to pull core config from Magento to Meta
241241
*
242242
* @param string $externalBusinessId
243-
* @return CoreConfigInterface
243+
* @return \Meta\BusinessExtension\Api\CoreConfigInterface
244244
* @throws LocalizedException
245245
*/
246246
public function getCoreConfig(string $externalBusinessId): CoreConfigInterface

0 commit comments

Comments
 (0)