Completed
Push — develop ( 1d947e...a9d8b7 )
by Nate
05:38
created
src/cp/actions/fields/CreateItem.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,10 +10,10 @@
 block discarded – undo
10 10
 
11 11
 use Craft;
12 12
 use craft\base\ElementInterface;
13
-use flipbox\hubspot\fields\Resources;
13
+use flipbox\ember\actions\traits\Manage;
14 14
 use flipbox\hubspot\HubSpot;
15
+use flipbox\hubspot\fields\Resources;
15 16
 use flipbox\hubspot\records\ResourceAssociation;
16
-use flipbox\ember\actions\traits\Manage;
17 17
 use yii\base\Action;
18 18
 use yii\web\HttpException;
19 19
 
Please login to merge, or discard this patch.
src/cp/actions/fields/PerformAction.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
 
59 59
     /**
60 60
      * @param SObjectActionInterface $action
61
-     * @param SObjects $field
61
+     * @param \flipbox\hubspot\fields\Resources $field
62 62
      * @param ElementInterface $element
63 63
      * @return mixed
64 64
      * @throws \yii\web\UnauthorizedHttpException
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
10 10
 
11 11
 use craft\base\ElementInterface;
12 12
 use flipbox\ember\actions\traits\Manage;
13
-use flipbox\force\fields\actions\SObjectActionInterface;
14
-use flipbox\force\fields\SObjects;
15 13
 use flipbox\force\Force;
14
+use flipbox\force\fields\SObjects;
15
+use flipbox\force\fields\actions\SObjectActionInterface;
16 16
 use yii\base\Action;
17 17
 use yii\web\HttpException;
18 18
 
Please login to merge, or discard this patch.
src/cp/actions/fields/PerformItemAction.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
 
64 64
     /**
65 65
      * @param SObjectRowActionInterface $action
66
-     * @param SObjects $field
66
+     * @param \flipbox\hubspot\fields\Resources $field
67 67
      * @param ElementInterface $element
68 68
      * @param SObjectCriteria $criteria
69 69
      * @return mixed
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,10 +10,10 @@
 block discarded – undo
10 10
 
11 11
 use craft\base\ElementInterface;
12 12
 use flipbox\ember\actions\traits\Manage;
13
+use flipbox\force\Force;
13 14
 use flipbox\force\criteria\SObjectCriteria;
14
-use flipbox\force\fields\actions\SObjectRowActionInterface;
15 15
 use flipbox\force\fields\SObjects;
16
-use flipbox\force\Force;
16
+use flipbox\force\fields\actions\SObjectRowActionInterface;
17 17
 use yii\base\Action;
18 18
 use yii\web\HttpException;
19 19
 
Please login to merge, or discard this patch.
src/criteria/BaseCriteria.php 1 patch
Unused Use Statements   +4 added lines, -4 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;
12
+use flipbox\ember\helpers\ObjectHelper;
11 13
 use flipbox\hubspot\HubSpot;
14
+use flipbox\hubspot\connections\ConnectionInterface;
15
+use flipbox\hubspot\helpers\TransformerHelper;
12 16
 use flipbox\hubspot\services\Cache;
13 17
 use flipbox\hubspot\services\Connections;
14 18
 use flipbox\hubspot\transformers\collections\DynamicTransformerCollection;
15
-use flipbox\ember\helpers\ObjectHelper;
16
-use flipbox\hubspot\connections\ConnectionInterface;
17
-use flipbox\hubspot\helpers\TransformerHelper;
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/HubSpot.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,11 +7,11 @@
 block discarded – undo
7 7
 use craft\events\RegisterComponentTypesEvent;
8 8
 use craft\services\Fields;
9 9
 use craft\services\Plugins;
10
+use flipbox\craft\psr3\Logger;
11
+use flipbox\ember\modules\LoggerTrait;
10 12
 use flipbox\hubspot\fields\Resources;
11 13
 use flipbox\hubspot\models\Settings as SettingsModel;
12 14
 use flipbox\hubspot\patron\Events;
13
-use flipbox\craft\psr3\Logger;
14
-use flipbox\ember\modules\LoggerTrait;
15 15
 use yii\base\Event;
16 16
 
17 17
 /**
Please login to merge, or discard this patch.
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   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,15 +11,15 @@
 block discarded – undo
11 11
 use craft\base\ElementInterface;
12 12
 use craft\errors\ElementNotFoundException;
13 13
 use craft\helpers\Json;
14
-use flipbox\hubspot\db\ResourceAssociationQuery;
15
-use flipbox\hubspot\fields\Resources;
16
-use flipbox\hubspot\HubSpot;
17
-use flipbox\hubspot\records\ResourceAssociation;
18 14
 use flipbox\craft\sortable\associations\db\SortableAssociationQueryInterface;
19 15
 use flipbox\craft\sortable\associations\records\SortableAssociationInterface;
20 16
 use flipbox\craft\sortable\associations\services\SortableAssociations;
21 17
 use flipbox\ember\services\traits\records\Accessor;
22 18
 use flipbox\ember\validators\MinMaxValidator;
19
+use flipbox\hubspot\HubSpot;
20
+use flipbox\hubspot\db\ResourceAssociationQuery;
21
+use flipbox\hubspot\fields\Resources;
22
+use flipbox\hubspot\records\ResourceAssociation;
23 23
 
24 24
 /**
25 25
  * @author Flipbox Factory <[email protected]>
Please login to merge, or discard this patch.
src/services/resources/traits/ElementCriteriaTrait.php 2 patches
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.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\hubspot\services\resources\traits;
10 10
 
11
+use flipbox\ember\helpers\ObjectHelper;
11 12
 use flipbox\hubspot\criteria\ResourceCriteriaInterface;
12 13
 use flipbox\hubspot\fields\Resources;
13
-use flipbox\ember\helpers\ObjectHelper;
14 14
 use yii\base\InvalidConfigException;
15 15
 
16 16
 /**
Please login to merge, or discard this patch.
src/services/ResourcesField.php 1 patch
Unused Use Statements   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -13,17 +13,17 @@
 block discarded – undo
13 13
 use craft\base\FieldInterface;
14 14
 use craft\helpers\Component as ComponentHelper;
15 15
 use craft\helpers\StringHelper;
16
+use flipbox\craft\sortable\associations\db\SortableAssociationQueryInterface;
17
+use flipbox\craft\sortable\associations\records\SortableAssociationInterface;
18
+use flipbox\craft\sortable\associations\services\SortableFields;
19
+use flipbox\hubspot\HubSpot;
16 20
 use flipbox\hubspot\db\ResourceAssociationQuery;
17 21
 use flipbox\hubspot\events\RegisterResourceFieldActionsEvent;
22
+use flipbox\hubspot\fields\Resources;
18 23
 use flipbox\hubspot\fields\actions\ResourceActionInterface;
19 24
 use flipbox\hubspot\fields\actions\ResourceItemActionInterface;
20
-use flipbox\hubspot\fields\Resources;
21
-use flipbox\hubspot\HubSpot;
22 25
 use flipbox\hubspot\records\ResourceAssociation;
23 26
 use flipbox\hubspot\web\assets\resources\Resources as ResourcesAsset;
24
-use flipbox\craft\sortable\associations\db\SortableAssociationQueryInterface;
25
-use flipbox\craft\sortable\associations\records\SortableAssociationInterface;
26
-use flipbox\craft\sortable\associations\services\SortableFields;
27 27
 use yii\base\Exception;
28 28
 
29 29
 /**
Please login to merge, or discard this patch.