@@ -327,6 +327,7 @@ discard block |
||
327 | 327 | /** |
328 | 328 | * @inheritdoc |
329 | 329 | * @throws \Throwable |
330 | + * @param callable $transformer |
|
330 | 331 | */ |
331 | 332 | public function syncToSalesforce( |
332 | 333 | ElementInterface $element, |
@@ -412,6 +413,7 @@ discard block |
||
412 | 413 | * @throws \Throwable |
413 | 414 | * @throws \craft\errors\ElementNotFoundException |
414 | 415 | * @throws \yii\base\Exception |
416 | + * @param callable $transformer |
|
415 | 417 | */ |
416 | 418 | public function syncFromSalesforce( |
417 | 419 | ElementInterface $element, |
@@ -487,7 +489,7 @@ discard block |
||
487 | 489 | } |
488 | 490 | |
489 | 491 | /** |
490 | - * @param ResponseInterface|Element $response |
|
492 | + * @param ResponseInterface $response |
|
491 | 493 | * @param ElementInterface $element |
492 | 494 | * @param string|null $objectId |
493 | 495 | * @return bool |
@@ -542,7 +544,7 @@ discard block |
||
542 | 544 | /** |
543 | 545 | * @param int $elementId |
544 | 546 | * @param int|null $siteId |
545 | - * @return bool|false|string|null |
|
547 | + * @return null|string |
|
546 | 548 | */ |
547 | 549 | public function findObjectIdFromElementId( |
548 | 550 | int $elementId, |
@@ -575,7 +577,7 @@ discard block |
||
575 | 577 | /** |
576 | 578 | * @param string $objectId |
577 | 579 | * @param int|null $siteId |
578 | - * @return bool|false|string|null |
|
580 | + * @return null|string |
|
579 | 581 | */ |
580 | 582 | public function findElementIdFromObjectId( |
581 | 583 | string $objectId, |