Completed
Push — develop ( a9d8b7...303fd0 )
by Nate
20:48
created
src/patron/connections/traits/AccessTokenAuthorizationTrait.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,12 +8,12 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\hubspot\patron\connections\traits;
10 10
 
11
-use craft\helpers\ArrayHelper;
12
-use flipbox\patron\Patron;
13 11
 use Flipbox\Skeleton\Helpers\JsonHelper;
14 12
 use League\OAuth2\Client\Token\AccessToken;
15 13
 use Psr\Http\Message\RequestInterface;
16 14
 use Psr\Http\Message\ResponseInterface;
15
+use craft\helpers\ArrayHelper;
16
+use flipbox\patron\Patron;
17 17
 
18 18
 /**
19 19
  * @author Flipbox Factory <[email protected]>
Please login to merge, or discard this patch.
src/services/ResourceAssociations.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@
 block discarded – undo
185 185
     }
186 186
 
187 187
     /**
188
-     * @param $source
188
+     * @param string $source
189 189
      * @param int $fieldId
190 190
      * @param int $siteId
191 191
      * @return array
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,9 +16,9 @@
 block discarded – undo
16 16
 use flipbox\craft\sortable\associations\services\SortableAssociations;
17 17
 use flipbox\ember\services\traits\records\Accessor;
18 18
 use flipbox\ember\validators\MinMaxValidator;
19
+use flipbox\hubspot\HubSpot;
19 20
 use flipbox\hubspot\db\ResourceAssociationQuery;
20 21
 use flipbox\hubspot\fields\Resources;
21
-use flipbox\hubspot\HubSpot;
22 22
 use flipbox\hubspot\records\ResourceAssociation;
23 23
 
24 24
 /**
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 ResourceCriteriaInterface
25 25
      */
26 26
     public abstract function getCriteria(array $criteria = []): ResourceCriteriaInterface;
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\ResourceCriteriaInterface;
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/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\ResourceCriteriaInterface;
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\ResourceCriteriaInterface;
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/cp/actions/fields/CreateItem.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@
 block discarded – undo
11 11
 use Craft;
12 12
 use craft\base\ElementInterface;
13 13
 use flipbox\ember\actions\traits\Manage;
14
-use flipbox\hubspot\fields\Resources;
15 14
 use flipbox\hubspot\HubSpot;
15
+use flipbox\hubspot\fields\Resources;
16 16
 use flipbox\hubspot\records\ResourceAssociation;
17 17
 use yii\base\Action;
18 18
 use yii\web\HttpException;
Please login to merge, or discard this patch.
src/criteria/BaseCriteria.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,15 +8,15 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\hubspot\criteria;
10 10
 
11
+use Psr\SimpleCache\CacheInterface;
11 12
 use flipbox\ember\helpers\ObjectHelper;
13
+use flipbox\hubspot\HubSpot;
12 14
 use flipbox\hubspot\connections\ConnectionInterface;
13 15
 use flipbox\hubspot\helpers\TransformerHelper;
14
-use flipbox\hubspot\HubSpot;
15 16
 use flipbox\hubspot\services\Cache;
16 17
 use flipbox\hubspot\services\Connections;
17 18
 use flipbox\hubspot\transformers\collections\DynamicTransformerCollection;
18 19
 use flipbox\hubspot\transformers\collections\TransformerCollectionInterface;
19
-use Psr\SimpleCache\CacheInterface;
20 20
 use yii\base\BaseObject;
21 21
 
22 22
 /**
Please login to merge, or discard this patch.
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\ResourceCriteria;
21 22
 use flipbox\hubspot\criteria\ResourceCriteriaInterface;
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.