| @@ -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 |  { | 
| @@ -4,14 +4,12 @@ | ||
| 4 | 4 | |
| 5 | 5 | use Craft; | 
| 6 | 6 | use craft\base\Plugin; | 
| 7 | -use craft\helpers\UrlHelper; | |
| 8 | 7 | use craft\web\Request; | 
| 9 | 8 | use flipbox\craft\psr6\Cache; | 
| 10 | -use flipbox\craft\psr6\events\RegisterCachePools; | |
| 11 | 9 | use flipbox\hubspot\models\Settings as SettingsModel; | 
| 12 | 10 | use flipbox\hubspot\patron\provider\HubSpot as HubSpotProvider; | 
| 13 | -use flipbox\patron\modules\configuration\events\RegisterProviders; | |
| 14 | 11 | use flipbox\patron\modules\configuration\Module as PatronConfiguration; | 
| 12 | +use flipbox\patron\modules\configuration\events\RegisterProviders; | |
| 15 | 13 | use flipbox\spark\modules\interfaces\LoggableInterface; | 
| 16 | 14 | use flipbox\spark\modules\traits\LoggableTrait; | 
| 17 | 15 | use yii\base\Event; |