@@ -3,18 +3,18 @@ |
||
| 3 | 3 | namespace flipbox\hubspot\modules\http\services; |
| 4 | 4 | |
| 5 | 5 | use Craft; |
| 6 | -use craft\helpers\Json; |
|
| 7 | -use flipbox\hubspot\authentication\AuthenticationStrategyInterface; |
|
| 8 | -use flipbox\hubspot\cache\CacheStrategyInterface; |
|
| 9 | -use flipbox\hubspot\HubSpot; |
|
| 10 | 6 | use Flipbox\Relay\HubSpot\Segment\Companies\AddContact; |
| 11 | 7 | use Flipbox\Relay\HubSpot\Segment\Companies\Create; |
| 12 | 8 | use Flipbox\Relay\HubSpot\Segment\Companies\GetByDomain; |
| 13 | 9 | use Flipbox\Relay\HubSpot\Segment\Companies\GetById; |
| 14 | 10 | use Flipbox\Relay\HubSpot\Segment\Companies\RemoveContact; |
| 15 | -use Flipbox\Relay\HubSpot\Segment\Companies\UpdateById; |
|
| 16 | 11 | use Flipbox\Relay\HubSpot\Segment\Companies\UpdateByDomain; |
| 12 | +use Flipbox\Relay\HubSpot\Segment\Companies\UpdateById; |
|
| 17 | 13 | use Psr\Http\Message\ResponseInterface; |
| 14 | +use craft\helpers\Json; |
|
| 15 | +use flipbox\hubspot\HubSpot; |
|
| 16 | +use flipbox\hubspot\authentication\AuthenticationStrategyInterface; |
|
| 17 | +use flipbox\hubspot\cache\CacheStrategyInterface; |
|
| 18 | 18 | |
| 19 | 19 | class Companies extends AbstractResource |
| 20 | 20 | { |
@@ -136,7 +136,6 @@ |
||
| 136 | 136 | } |
| 137 | 137 | |
| 138 | 138 | /** |
| 139 | - * @param int $id |
|
| 140 | 139 | * @param $data |
| 141 | 140 | * @param callable|TransformerInterface $transformer |
| 142 | 141 | * @param AuthenticationStrategyInterface|null $authenticationStrategy |
@@ -2,15 +2,12 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace flipbox\hubspot\modules\resources\services; |
| 4 | 4 | |
| 5 | -use craft\elements\User; |
|
| 5 | +use Flipbox\Transform\Factory; |
|
| 6 | +use Flipbox\Transform\Transformers\TransformerInterface; |
|
| 6 | 7 | use craft\helpers\Json; |
| 8 | +use flipbox\hubspot\HubSpot; |
|
| 7 | 9 | use flipbox\hubspot\authentication\AuthenticationStrategyInterface; |
| 8 | 10 | use flipbox\hubspot\cache\CacheStrategyInterface; |
| 9 | -use flipbox\hubspot\HubSpot; |
|
| 10 | -use Flipbox\Transform\Factory; |
|
| 11 | -use Flipbox\Transform\Transformers\TransformerInterface; |
|
| 12 | -use flipbox\transformer\Transformer; |
|
| 13 | -use yii\base\Component; |
|
| 14 | 11 | |
| 15 | 12 | class Contacts extends AbstractResource |
| 16 | 13 | { |