Completed
Push — master ( b7038b...d64f6f )
by Nate
05:37 queued 03:37
created
src/cp/controllers/settings/view/ConnectionsController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@
 block discarded – undo
10 10
 
11 11
 use Craft;
12 12
 use craft\helpers\UrlHelper;
13
-use flipbox\craft\hubspot\connections\SavableConnectionInterface;
14 13
 use flipbox\craft\hubspot\HubSpot;
14
+use flipbox\craft\hubspot\connections\SavableConnectionInterface;
15 15
 use flipbox\craft\hubspot\records\Connection;
16 16
 use yii\di\Instance;
17 17
 use yii\web\Response;
Please login to merge, or discard this patch.
src/transformers/CreateUpsertPayloadFromElement.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@
 block discarded – undo
12 12
 
13 13
 use craft\base\Element;
14 14
 use craft\base\ElementInterface;
15
+use flipbox\craft\hubspot\HubSpot;
15 16
 use flipbox\craft\hubspot\events\CreatePayloadFromElementEvent;
16 17
 use flipbox\craft\hubspot\fields\Objects;
17 18
 use flipbox\craft\hubspot\fields\ObjectsFieldInterface;
18
-use flipbox\craft\hubspot\HubSpot;
19 19
 use yii\base\BaseObject;
20 20
 
21 21
 /**
Please login to merge, or discard this patch.
src/transformers/PopulateElementFromResponse.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,13 +8,13 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\craft\hubspot\transformers;
10 10
 
11
+use Psr\Http\Message\ResponseInterface;
11 12
 use craft\base\Element;
12 13
 use craft\base\ElementInterface;
14
+use flipbox\craft\hubspot\HubSpot;
13 15
 use flipbox\craft\hubspot\events\PopulateElementFromResponseEvent;
14 16
 use flipbox\craft\hubspot\fields\Objects;
15 17
 use flipbox\craft\hubspot\fields\ObjectsFieldInterface;
16
-use flipbox\craft\hubspot\HubSpot;
17
-use Psr\Http\Message\ResponseInterface;
18 18
 
19 19
 /**
20 20
  * @author Flipbox Factory <[email protected]>
Please login to merge, or discard this patch.
src/fields/Objects.php 2 patches
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,23 +9,23 @@
 block discarded – undo
9 9
 namespace flipbox\craft\hubspot\fields;
10 10
 
11 11
 use Craft;
12
+use Psr\Http\Message\ResponseInterface;
13
+use Psr\SimpleCache\CacheInterface;
12 14
 use craft\base\Element;
13 15
 use craft\base\ElementInterface;
14 16
 use craft\helpers\ArrayHelper;
15 17
 use flipbox\craft\ember\helpers\SiteHelper;
18
+use flipbox\craft\hubspot\HubSpot;
16 19
 use flipbox\craft\hubspot\fields\actions\SyncItemFrom;
17 20
 use flipbox\craft\hubspot\fields\actions\SyncItemTo;
18 21
 use flipbox\craft\hubspot\fields\actions\SyncTo;
19 22
 use flipbox\craft\hubspot\helpers\TransformerHelper;
20
-use flipbox\craft\hubspot\HubSpot;
21 23
 use flipbox\craft\hubspot\records\ObjectAssociation;
22 24
 use flipbox\craft\hubspot\transformers\PopulateElementErrorsFromResponse;
23 25
 use flipbox\craft\hubspot\transformers\PopulateElementErrorsFromUpsertResponse;
24 26
 use flipbox\craft\integration\fields\Integrations;
25 27
 use flipbox\craft\integration\queries\IntegrationAssociationQuery;
26 28
 use flipbox\hubspot\connections\ConnectionInterface;
27
-use Psr\Http\Message\ResponseInterface;
28
-use Psr\SimpleCache\CacheInterface;
29 29
 
30 30
 /**
31 31
  * @author Flipbox Factory <[email protected]>
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -348,7 +348,7 @@  discard block
 block discarded – undo
348 348
     /**
349 349
      * @param int $elementId
350 350
      * @param int|null $siteId
351
-     * @return bool|false|string|null
351
+     * @return null|string
352 352
      */
353 353
     public function resolveObjectIdFromElementId(
354 354
         int $elementId,
@@ -381,7 +381,7 @@  discard block
 block discarded – undo
381 381
     /**
382 382
      * @param string $objectId
383 383
      * @param int|null $siteId
384
-     * @return bool|false|string|null
384
+     * @return null|string
385 385
      */
386 386
     public function resolveElementIdFromObjectId(
387 387
         string $objectId,
Please login to merge, or discard this patch.
src/validators/ConnectionValidator.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,11 +8,11 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\craft\hubspot\validators;
10 10
 
11
-use flipbox\craft\hubspot\connections\SavableConnectionInterface;
12
-use flipbox\craft\hubspot\HubSpot;
13
-use flipbox\craft\hubspot\records\Connection;
14 11
 use Flipbox\HubSpot\Connections\ConnectionInterface;
15 12
 use Flipbox\HubSpot\Connections\IntegrationConnectionInterface;
13
+use flipbox\craft\hubspot\HubSpot;
14
+use flipbox\craft\hubspot\connections\SavableConnectionInterface;
15
+use flipbox\craft\hubspot\records\Connection;
16 16
 use yii\base\Model;
17 17
 use yii\validators\Validator;
18 18
 
Please login to merge, or discard this patch.
src/HubSpot.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@
 block discarded – undo
14 14
 use craft\events\RegisterTemplateRootsEvent;
15 15
 use craft\events\RegisterUrlRulesEvent;
16 16
 use craft\services\Fields;
17
-use craft\web\twig\variables\CraftVariable;
18 17
 use craft\web\UrlManager;
19 18
 use craft\web\View;
19
+use craft\web\twig\variables\CraftVariable;
20 20
 use flipbox\craft\ember\modules\LoggerTrait;
21 21
 use flipbox\craft\hubspot\fields\Companies;
22 22
 use flipbox\craft\hubspot\fields\ContactLists;
Please login to merge, or discard this patch.