@@ -32,8 +32,8 @@ discard block |
||
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | 34 | * @param string $id |
| 35 | - * @param ConnectionInterface|string|null $connection |
|
| 36 | - * @param CacheInterface|string|null $cache |
|
| 35 | + * @param null|ConnectionInterface $connection |
|
| 36 | + * @param null|CacheInterface $cache |
|
| 37 | 37 | * @return callable |
| 38 | 38 | */ |
| 39 | 39 | public abstract function rawHttpReadRelay( |
@@ -45,8 +45,8 @@ discard block |
||
| 45 | 45 | /** |
| 46 | 46 | * @param array $payload |
| 47 | 47 | * @param string|null $identifier |
| 48 | - * @param ConnectionInterface|string|null $connection |
|
| 49 | - * @param CacheInterface|string|null $cache |
|
| 48 | + * @param null|ConnectionInterface $connection |
|
| 49 | + * @param null|CacheInterface $cache |
|
| 50 | 50 | * @return callable |
| 51 | 51 | * @throws \yii\base\InvalidConfigException |
| 52 | 52 | */ |
@@ -8,18 +8,18 @@ |
||
| 8 | 8 | |
| 9 | 9 | namespace flipbox\hubspot\services\resources\traits; |
| 10 | 10 | |
| 11 | +use Psr\SimpleCache\CacheInterface; |
|
| 11 | 12 | use craft\base\Element; |
| 12 | 13 | use craft\base\ElementInterface; |
| 14 | +use flipbox\hubspot\HubSpot; |
|
| 13 | 15 | use flipbox\hubspot\connections\ConnectionInterface; |
| 14 | 16 | use flipbox\hubspot\fields\Objects; |
| 15 | 17 | use flipbox\hubspot\helpers\ConnectionHelper; |
| 16 | -use flipbox\hubspot\HubSpot; |
|
| 17 | 18 | use flipbox\hubspot\pipeline\Resource; |
| 18 | 19 | use flipbox\hubspot\pipeline\stages\ElementAssociationStage; |
| 19 | 20 | use flipbox\hubspot\pipeline\stages\ElementSaveStage; |
| 20 | 21 | use flipbox\hubspot\traits\TransformElementIdTrait; |
| 21 | 22 | use flipbox\hubspot\traits\TransformElementPayloadTrait; |
| 22 | -use Psr\SimpleCache\CacheInterface; |
|
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | 25 | * @author Flipbox Factory <[email protected]> |