@@ -328,6 +328,7 @@ discard block |
||
| 328 | 328 | /** |
| 329 | 329 | * @inheritdoc |
| 330 | 330 | * @throws \Throwable |
| 331 | + * @param callable $transformer |
|
| 331 | 332 | */ |
| 332 | 333 | public function syncToSalesforce( |
| 333 | 334 | ElementInterface $element, |
@@ -417,6 +418,7 @@ discard block |
||
| 417 | 418 | * @throws \Throwable |
| 418 | 419 | * @throws \craft\errors\ElementNotFoundException |
| 419 | 420 | * @throws \yii\base\Exception |
| 421 | + * @param callable $transformer |
|
| 420 | 422 | */ |
| 421 | 423 | public function syncFromSalesforce( |
| 422 | 424 | ElementInterface $element, |
@@ -492,7 +494,7 @@ discard block |
||
| 492 | 494 | } |
| 493 | 495 | |
| 494 | 496 | /** |
| 495 | - * @param ResponseInterface|Element $response |
|
| 497 | + * @param ResponseInterface $response |
|
| 496 | 498 | * @param ElementInterface $element |
| 497 | 499 | * @param string|null $objectId |
| 498 | 500 | * @return bool |
@@ -549,7 +551,7 @@ discard block |
||
| 549 | 551 | /** |
| 550 | 552 | * @param int $elementId |
| 551 | 553 | * @param int|null $siteId |
| 552 | - * @return bool|false|string|null |
|
| 554 | + * @return null|string |
|
| 553 | 555 | */ |
| 554 | 556 | public function findObjectIdFromElementId( |
| 555 | 557 | int $elementId = null, |
@@ -586,7 +588,7 @@ discard block |
||
| 586 | 588 | /** |
| 587 | 589 | * @param string $objectId |
| 588 | 590 | * @param int|null $siteId |
| 589 | - * @return bool|false|string|null |
|
| 591 | + * @return null|string |
|
| 590 | 592 | */ |
| 591 | 593 | public function findElementIdFromObjectId( |
| 592 | 594 | string $objectId = null, |