@@ -14,13 +14,13 @@ |
||
14 | 14 | use craft\elements\db\ElementQueryInterface; |
15 | 15 | use flipbox\ember\helpers\ModelHelper; |
16 | 16 | use flipbox\ember\validators\MinMaxValidator; |
17 | +use flipbox\hubspot\HubSpot; |
|
17 | 18 | use flipbox\hubspot\criteria\CompanyCriteria; |
18 | 19 | use flipbox\hubspot\criteria\ContactCriteria; |
19 | 20 | use flipbox\hubspot\criteria\ContactListCriteria; |
20 | 21 | use flipbox\hubspot\criteria\ObjectCriteria; |
21 | 22 | use flipbox\hubspot\criteria\ObjectCriteriaInterface; |
22 | 23 | use flipbox\hubspot\db\ResourceAssociationQuery; |
23 | -use flipbox\hubspot\HubSpot; |
|
24 | 24 | use flipbox\hubspot\records\ResourceAssociation; |
25 | 25 | use flipbox\hubspot\services\resources\Companies; |
26 | 26 | use flipbox\hubspot\services\resources\ContactLists; |
@@ -4,11 +4,9 @@ |
||
4 | 4 | |
5 | 5 | use Craft; |
6 | 6 | use craft\base\ElementInterface; |
7 | -use craft\db\Query; |
|
8 | -use craft\elements\db\ElementQuery; |
|
9 | 7 | use craft\queue\BaseJob; |
10 | -use flipbox\hubspot\fields\Resources; |
|
11 | 8 | use flipbox\hubspot\HubSpot; |
9 | +use flipbox\hubspot\fields\Resources; |
|
12 | 10 | use yii\base\Component; |
13 | 11 | use yii\base\InvalidConfigException; |
14 | 12 |
@@ -39,7 +39,7 @@ |
||
39 | 39 | |
40 | 40 | /** |
41 | 41 | * @inheritdoc |
42 | - * @return ContactListContactsCriteria |
|
42 | + * @return ContactListContactsCriteriaInterface |
|
43 | 43 | */ |
44 | 44 | public function getCriteria(array $criteria = []): ContactListContactsCriteriaInterface |
45 | 45 | { |
@@ -8,12 +8,12 @@ |
||
8 | 8 | |
9 | 9 | namespace flipbox\hubspot\services\resources\traits; |
10 | 10 | |
11 | +use League\Pipeline\PipelineBuilderInterface; |
|
11 | 12 | use craft\base\Element; |
12 | 13 | use craft\base\ElementInterface; |
13 | 14 | use flipbox\hubspot\criteria\ObjectCriteriaInterface; |
14 | 15 | use flipbox\hubspot\fields\Resources; |
15 | 16 | use flipbox\hubspot\helpers\TransformerHelper; |
16 | -use League\Pipeline\PipelineBuilderInterface; |
|
17 | 17 | |
18 | 18 | /** |
19 | 19 | * @author Flipbox Factory <[email protected]> |
@@ -20,7 +20,7 @@ |
||
20 | 20 | trait ElementCriteriaTrait |
21 | 21 | { |
22 | 22 | /** |
23 | - * @param array $criteria |
|
23 | + * @param \yii\base\BaseObject $criteria |
|
24 | 24 | * @return ObjectCriteriaInterface |
25 | 25 | */ |
26 | 26 | public abstract function getCriteria(array $criteria = []): ObjectCriteriaInterface; |
@@ -8,12 +8,12 @@ |
||
8 | 8 | |
9 | 9 | namespace flipbox\hubspot\services\resources\traits; |
10 | 10 | |
11 | +use League\Pipeline\PipelineBuilderInterface; |
|
11 | 12 | use craft\base\Element; |
12 | 13 | use craft\base\ElementInterface; |
13 | 14 | use flipbox\hubspot\criteria\ObjectCriteriaInterface; |
14 | 15 | use flipbox\hubspot\fields\Resources; |
15 | 16 | use flipbox\hubspot\helpers\TransformerHelper; |
16 | -use League\Pipeline\PipelineBuilderInterface; |
|
17 | 17 | |
18 | 18 | /** |
19 | 19 | * @author Flipbox Factory <[email protected]> |
@@ -8,12 +8,12 @@ |
||
8 | 8 | |
9 | 9 | namespace flipbox\hubspot\services\resources\traits; |
10 | 10 | |
11 | +use League\Pipeline\PipelineBuilderInterface; |
|
11 | 12 | use craft\base\Element; |
12 | 13 | use craft\base\ElementInterface; |
13 | 14 | use flipbox\hubspot\criteria\ObjectCriteriaInterface; |
14 | 15 | use flipbox\hubspot\fields\Resources; |
15 | 16 | use flipbox\hubspot\helpers\TransformerHelper; |
16 | -use League\Pipeline\PipelineBuilderInterface; |
|
17 | 17 | |
18 | 18 | /** |
19 | 19 | * @author Flipbox Factory <[email protected]> |