Completed
Push — develop ( 3644a8...72e19e )
by Nate
06:59
created
src/fields/Resources.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,13 +14,13 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/queue/jobs/AbstractSyncElementJob.php 1 patch
Unused Use Statements   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,11 +4,9 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/services/resources/ContactListContacts.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/services/resources/traits/DeleteByElementTrait.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,12 +8,12 @@
 block discarded – undo
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]>
Please login to merge, or discard this patch.
src/services/resources/traits/ElementCriteriaTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/services/resources/traits/ReadByElementTrait.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,12 +8,12 @@
 block discarded – undo
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]>
Please login to merge, or discard this patch.
src/services/resources/traits/UpsertByElementTrait.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,12 +8,12 @@
 block discarded – undo
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]>
Please login to merge, or discard this patch.