@@ -143,7 +143,7 @@ |
||
| 143 | 143 | /** |
| 144 | 144 | * Logs a warning message. |
| 145 | 145 | * |
| 146 | - * @param $message |
|
| 146 | + * @param string $message |
|
| 147 | 147 | * @param string $category |
| 148 | 148 | */ |
| 149 | 149 | public static function warning($message, $category = 'hubspot') |
@@ -7,11 +7,10 @@ |
||
| 7 | 7 | use craft\helpers\UrlHelper; |
| 8 | 8 | use craft\web\Request; |
| 9 | 9 | use flipbox\craft\psr6\Cache; |
| 10 | -use flipbox\craft\psr6\events\RegisterCachePools; |
|
| 11 | 10 | use flipbox\hubspot\models\Settings as SettingsModel; |
| 12 | 11 | use flipbox\hubspot\patron\provider\HubSpot as HubSpotProvider; |
| 13 | -use flipbox\patron\modules\configuration\events\RegisterProviders; |
|
| 14 | 12 | use flipbox\patron\modules\configuration\Module as PatronConfiguration; |
| 13 | +use flipbox\patron\modules\configuration\events\RegisterProviders; |
|
| 15 | 14 | use yii\base\Event; |
| 16 | 15 | |
| 17 | 16 | /** |
@@ -3,13 +3,13 @@ |
||
| 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\Create; |
| 11 | 7 | use Flipbox\Relay\HubSpot\Segment\Companies\GetByDomain; |
| 12 | 8 | use Flipbox\Relay\HubSpot\Segment\Companies\GetById; |
| 9 | +use craft\helpers\Json; |
|
| 10 | +use flipbox\hubspot\HubSpot; |
|
| 11 | +use flipbox\hubspot\authentication\AuthenticationStrategyInterface; |
|
| 12 | +use flipbox\hubspot\cache\CacheStrategyInterface; |
|
| 13 | 13 | |
| 14 | 14 | class Companies extends AbstractResource |
| 15 | 15 | { |