Completed
Push — develop ( 51f082...e39b29 )
by Nate
05:23
created
src/services/resources/traits/UpdateObjectTrait.php 2 patches
Unused Use Statements   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -8,18 +8,18 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\hubspot\services\resources\traits;
10 10
 
11
+use Flipbox\Relay\Builder\RelayBuilderInterface;
12
+use League\Pipeline\PipelineBuilderInterface;
13
+use Psr\Http\Message\ResponseInterface;
14
+use Psr\SimpleCache\CacheInterface;
15
+use flipbox\hubspot\HubSpot;
11 16
 use flipbox\hubspot\connections\ConnectionInterface;
12 17
 use flipbox\hubspot\criteria\ObjectMutatorInterface;
13 18
 use flipbox\hubspot\helpers\CacheHelper;
14 19
 use flipbox\hubspot\helpers\ConnectionHelper;
15 20
 use flipbox\hubspot\helpers\TransformerHelper;
16
-use flipbox\hubspot\HubSpot;
17 21
 use flipbox\hubspot\pipeline\Resource;
18 22
 use flipbox\hubspot\transformers\collections\TransformerCollectionInterface;
19
-use Flipbox\Relay\Builder\RelayBuilderInterface;
20
-use League\Pipeline\PipelineBuilderInterface;
21
-use Psr\Http\Message\ResponseInterface;
22
-use Psr\SimpleCache\CacheInterface;
23 23
 
24 24
 /**
25 25
  * @author Flipbox Factory <[email protected]>
Please login to merge, or discard this patch.
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -60,9 +60,9 @@  discard block
 block discarded – undo
60 60
     /**
61 61
      * @param string $id
62 62
      * @param array $payload
63
-     * @param ConnectionInterface|string|null $connection
64
-     * @param CacheInterface|string|null $cache
65
-     * @param TransformerCollectionInterface|array|null $transformer
63
+     * @param null|ConnectionInterface $connection
64
+     * @param null|CacheInterface $cache
65
+     * @param null|TransformerCollectionInterface $transformer
66 66
      * @param array $extra
67 67
      * @return mixed
68 68
      * @throws \yii\base\InvalidConfigException
@@ -104,9 +104,9 @@  discard block
 block discarded – undo
104 104
     /**
105 105
      * @param string $id
106 106
      * @param array $payload
107
-     * @param ConnectionInterface|string|null $connection
108
-     * @param CacheInterface|string|null $cache
109
-     * @param TransformerCollectionInterface|array|null $transformer
107
+     * @param null|ConnectionInterface $connection
108
+     * @param null|CacheInterface $cache
109
+     * @param null|TransformerCollectionInterface $transformer
110 110
      * @return PipelineBuilderInterface
111 111
      * @throws \yii\base\InvalidConfigException
112 112
      */
@@ -155,8 +155,8 @@  discard block
 block discarded – undo
155 155
     /**
156 156
      * @param string $id
157 157
      * @param array $payload
158
-     * @param ConnectionInterface|string|null $connection
159
-     * @param CacheInterface|string|null $cache
158
+     * @param null|ConnectionInterface $connection
159
+     * @param null|CacheInterface $cache
160 160
      * @return callable
161 161
      * @throws \yii\base\InvalidConfigException
162 162
      */
@@ -199,8 +199,8 @@  discard block
 block discarded – undo
199 199
     /**
200 200
      * @param string $id
201 201
      * @param array $payload
202
-     * @param ConnectionInterface|string|null $connection
203
-     * @param CacheInterface|string|null $cache
202
+     * @param null|ConnectionInterface $connection
203
+     * @param null|CacheInterface $cache
204 204
      * @return ResponseInterface
205 205
      * @throws \yii\base\InvalidConfigException
206 206
      */
Please login to merge, or discard this patch.
src/services/resources/traits/SyncElementTrait.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,8 +32,8 @@  discard block
 block discarded – undo
32 32
 
33 33
     /**
34 34
      * @param string $id
35
-     * @param ConnectionInterface|string|null $connection
36
-     * @param CacheInterface|string|null $cache
35
+     * @param null|ConnectionInterface $connection
36
+     * @param null|CacheInterface $cache
37 37
      * @return callable
38 38
      */
39 39
     public abstract function rawHttpReadRelay(
@@ -45,8 +45,8 @@  discard block
 block discarded – undo
45 45
     /**
46 46
      * @param array $payload
47 47
      * @param string|null $identifier
48
-     * @param ConnectionInterface|string|null $connection
49
-     * @param CacheInterface|string|null $cache
48
+     * @param null|ConnectionInterface $connection
49
+     * @param null|CacheInterface $cache
50 50
      * @return callable
51 51
      * @throws \yii\base\InvalidConfigException
52 52
      */
Please login to merge, or discard this patch.
Unused Use Statements   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -8,22 +8,22 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\hubspot\services\resources\traits;
10 10
 
11
+use Flipbox\Pipeline\Pipelines\Pipeline;
12
+use Flipbox\Transform\Factory;
13
+use Psr\Http\Message\ResponseInterface;
14
+use Psr\SimpleCache\CacheInterface;
11 15
 use craft\base\Element;
12 16
 use craft\base\ElementInterface;
13 17
 use craft\helpers\Json;
18
+use flipbox\hubspot\HubSpot;
14 19
 use flipbox\hubspot\connections\ConnectionInterface;
15 20
 use flipbox\hubspot\fields\Objects;
16 21
 use flipbox\hubspot\helpers\ConnectionHelper;
17
-use flipbox\hubspot\HubSpot;
18 22
 use flipbox\hubspot\pipeline\stages\ElementAssociationStage;
19 23
 use flipbox\hubspot\pipeline\stages\ElementSaveStage;
20 24
 use flipbox\hubspot\traits\TransformElementIdTrait;
21 25
 use flipbox\hubspot\traits\TransformElementPayloadTrait;
22 26
 use flipbox\hubspot\transformers\error\Interpret;
23
-use Flipbox\Pipeline\Pipelines\Pipeline;
24
-use Flipbox\Transform\Factory;
25
-use Psr\Http\Message\ResponseInterface;
26
-use Psr\SimpleCache\CacheInterface;
27 27
 
28 28
 /**
29 29
  * @author Flipbox Factory <[email protected]>
Please login to merge, or discard this patch.
src/transformers/elements/ObjectId.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\base\Element;
12 12
 use craft\base\ElementInterface;
13 13
 use flipbox\ember\helpers\SiteHelper;
14
-use flipbox\hubspot\fields\Objects;
15 14
 use flipbox\hubspot\HubSpot;
15
+use flipbox\hubspot\fields\Objects;
16 16
 
17 17
 /**
18 18
  * @author Flipbox Factory <[email protected]>
Please login to merge, or discard this patch.
src/helpers/TransformerHelper.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,11 +8,11 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\hubspot\helpers;
10 10
 
11
+use Flipbox\Skeleton\Helpers\ObjectHelper;
12
+use flipbox\flux\helpers\TransformerHelper as BaseTransformerHelper;
11 13
 use flipbox\hubspot\HubSpot;
12 14
 use flipbox\hubspot\transformers\collections\TransformerCollection;
13 15
 use flipbox\hubspot\transformers\collections\TransformerCollectionInterface;
14
-use Flipbox\Skeleton\Helpers\ObjectHelper;
15
-use flipbox\flux\helpers\TransformerHelper as BaseTransformerHelper;
16 16
 
17 17
 /**
18 18
  * @author Flipbox Factory <[email protected]>
Please login to merge, or discard this patch.