Completed
Push — master ( f05f07...c30a0b )
by Doug
03:01
created
src/queue/jobs/AbstractSyncElementJob.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 use Craft;
6 6
 use craft\base\ElementInterface;
7 7
 use craft\queue\BaseJob;
8
-use flipbox\hubspot\fields\Objects;
9 8
 use flipbox\hubspot\HubSpot;
9
+use flipbox\hubspot\fields\Objects;
10 10
 use yii\base\Component;
11 11
 use yii\base\InvalidConfigException;
12 12
 
Please login to merge, or discard this patch.
src/criteria/traits/TransformerCollectionTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 namespace flipbox\hubspot\criteria\traits;
10 10
 
11 11
 use flipbox\hubspot\helpers\TransformerHelper;
12
-use flipbox\hubspot\traits\TransformerResolverTrait;
13 12
 use flipbox\hubspot\transformers\collections\DynamicTransformerCollection;
14 13
 use flipbox\hubspot\transformers\collections\TransformerCollectionInterface;
15 14
 
Please login to merge, or discard this patch.
src/pipeline/Resource.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,14 +8,14 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\hubspot\pipeline;
10 10
 
11
-use flipbox\hubspot\HubSpot;
12
-use flipbox\hubspot\pipeline\pipelines\HttpPipeline;
13
-use flipbox\hubspot\pipeline\stages\TransformerCollectionStage;
14
-use flipbox\hubspot\transformers\collections\TransformerCollectionInterface;
15 11
 use Flipbox\Pipeline\Builders\BuilderTrait;
16 12
 use Flipbox\Skeleton\Object\AbstractObject;
17 13
 use League\Pipeline\PipelineBuilderInterface;
18 14
 use Psr\Log\LoggerInterface;
15
+use flipbox\hubspot\HubSpot;
16
+use flipbox\hubspot\pipeline\pipelines\HttpPipeline;
17
+use flipbox\hubspot\pipeline\stages\TransformerCollectionStage;
18
+use flipbox\hubspot\transformers\collections\TransformerCollectionInterface;
19 19
 
20 20
 /**
21 21
  * A Relay pipeline builder intended to make building the Relay and Pipeline easier.
Please login to merge, or discard this patch.
src/services/resources/Limit.php 2 patches
Unused Use Statements   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -8,19 +8,19 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\hubspot\services\resources;
10 10
 
11
+use Flipbox\Relay\Builder\RelayBuilderInterface;
12
+use Flipbox\Relay\HubSpot\Builder\Resources\Limit\Daily\Read;
13
+use League\Pipeline\PipelineBuilderInterface;
14
+use Psr\Http\Message\ResponseInterface;
15
+use Psr\SimpleCache\CacheInterface;
16
+use flipbox\hubspot\HubSpot;
11 17
 use flipbox\hubspot\connections\ConnectionInterface;
12 18
 use flipbox\hubspot\criteria\IntegrationAccessorInterface;
13 19
 use flipbox\hubspot\helpers\CacheHelper;
14 20
 use flipbox\hubspot\helpers\ConnectionHelper;
15 21
 use flipbox\hubspot\helpers\TransformerHelper;
16
-use flipbox\hubspot\HubSpot;
17 22
 use flipbox\hubspot\pipeline\Resource;
18 23
 use flipbox\hubspot\transformers\collections\TransformerCollectionInterface;
19
-use Flipbox\Relay\Builder\RelayBuilderInterface;
20
-use Flipbox\Relay\HubSpot\Builder\Resources\Limit\Daily\Read;
21
-use League\Pipeline\PipelineBuilderInterface;
22
-use Psr\Http\Message\ResponseInterface;
23
-use Psr\SimpleCache\CacheInterface;
24 24
 use yii\base\Component;
25 25
 
26 26
 /**
Please login to merge, or discard this patch.
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -43,8 +43,8 @@  discard block
 block discarded – undo
43 43
     }
44 44
 
45 45
     /**
46
-     * @param ConnectionInterface|string|null $connection
47
-     * @param CacheInterface|string|null $cache
46
+     * @param null|ConnectionInterface $connection
47
+     * @param null|CacheInterface $cache
48 48
      * @return callable
49 49
      * @throws \yii\base\InvalidConfigException
50 50
      */
@@ -83,9 +83,9 @@  discard block
 block discarded – undo
83 83
     }
84 84
 
85 85
     /**
86
-     * @param ConnectionInterface|string|null $connection
87
-     * @param CacheInterface|string|null $cache
88
-     * @param TransformerCollectionInterface|array|null $transformer
86
+     * @param null|ConnectionInterface $connection
87
+     * @param null|CacheInterface $cache
88
+     * @param null|TransformerCollectionInterface $transformer
89 89
      * @param array $extra
90 90
      * @return mixed
91 91
      * @throws \yii\base\InvalidConfigException
@@ -119,9 +119,9 @@  discard block
 block discarded – undo
119 119
     }
120 120
 
121 121
     /**
122
-     * @param ConnectionInterface|string|null $connection
123
-     * @param CacheInterface|string|null $cache
124
-     * @param TransformerCollectionInterface|array|null $transformer
122
+     * @param null|ConnectionInterface $connection
123
+     * @param null|CacheInterface $cache
124
+     * @param null|TransformerCollectionInterface $transformer
125 125
      * @return PipelineBuilderInterface
126 126
      * @throws \yii\base\InvalidConfigException
127 127
      */
@@ -162,8 +162,8 @@  discard block
 block discarded – undo
162 162
     }
163 163
 
164 164
     /**
165
-     * @param ConnectionInterface|string|null $connection
166
-     * @param CacheInterface|string|null $cache
165
+     * @param null|ConnectionInterface $connection
166
+     * @param null|CacheInterface $cache
167 167
      * @return ResponseInterface
168 168
      * @throws \yii\base\InvalidConfigException
169 169
      */
Please login to merge, or discard this patch.
src/services/resources/traits/ReadObjectTrait.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\ObjectAccessorInterface;
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   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -58,9 +58,9 @@  discard block
 block discarded – undo
58 58
 
59 59
     /**
60 60
      * @param $id
61
-     * @param ConnectionInterface|string|null $connection
62
-     * @param CacheInterface|string|null $cache
63
-     * @param TransformerCollectionInterface|array|null $transformer
61
+     * @param null|ConnectionInterface $connection
62
+     * @param null|CacheInterface $cache
63
+     * @param null|TransformerCollectionInterface $transformer
64 64
      * @param array $extra
65 65
      * @return mixed
66 66
      * @throws \yii\base\InvalidConfigException
@@ -98,9 +98,9 @@  discard block
 block discarded – undo
98 98
 
99 99
     /**
100 100
      * @param $id
101
-     * @param ConnectionInterface|string|null $connection
102
-     * @param CacheInterface|string|null $cache
103
-     * @param TransformerCollectionInterface|array|null $transformer
101
+     * @param null|ConnectionInterface $connection
102
+     * @param null|CacheInterface $cache
103
+     * @param null|TransformerCollectionInterface $transformer
104 104
      * @return PipelineBuilderInterface
105 105
      * @throws \yii\base\InvalidConfigException
106 106
      */
@@ -144,9 +144,9 @@  discard block
 block discarded – undo
144 144
     }
145 145
 
146 146
     /**
147
-     * @param $id
148
-     * @param ConnectionInterface|string|null $connection
149
-     * @param CacheInterface|string|null $cache
147
+     * @param string|null $id
148
+     * @param null|ConnectionInterface $connection
149
+     * @param null|CacheInterface $cache
150 150
      * @return ResponseInterface
151 151
      * @throws \yii\base\InvalidConfigException
152 152
      */
@@ -179,8 +179,8 @@  discard block
 block discarded – undo
179 179
 
180 180
     /**
181 181
      * @param $id
182
-     * @param ConnectionInterface|string|null $connection
183
-     * @param CacheInterface|string|null $cache
182
+     * @param null|ConnectionInterface $connection
183
+     * @param null|CacheInterface $cache
184 184
      * @return callable
185 185
      * @throws \yii\base\InvalidConfigException
186 186
      */
Please login to merge, or discard this patch.
src/services/resources/CompanyContacts.php 2 patches
Unused Use Statements   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -8,6 +8,14 @@  discard block
 block discarded – undo
8 8
 
9 9
 namespace flipbox\hubspot\services\resources;
10 10
 
11
+use Flipbox\Relay\Builder\RelayBuilderInterface;
12
+use Flipbox\Relay\HubSpot\Builder\Resources\Company\Contacts\Add;
13
+use Flipbox\Relay\HubSpot\Builder\Resources\Company\Contacts\All;
14
+use Flipbox\Relay\HubSpot\Builder\Resources\Company\Contacts\Remove;
15
+use League\Pipeline\PipelineBuilderInterface;
16
+use Psr\Http\Message\ResponseInterface;
17
+use Psr\SimpleCache\CacheInterface;
18
+use flipbox\hubspot\HubSpot;
11 19
 use flipbox\hubspot\connections\ConnectionInterface;
12 20
 use flipbox\hubspot\criteria\CompanyContactsAccessor;
13 21
 use flipbox\hubspot\criteria\CompanyContactsMutator;
@@ -16,19 +24,11 @@  discard block
 block discarded – undo
16 24
 use flipbox\hubspot\helpers\CacheHelper;
17 25
 use flipbox\hubspot\helpers\ConnectionHelper;
18 26
 use flipbox\hubspot\helpers\TransformerHelper;
19
-use flipbox\hubspot\HubSpot;
20 27
 use flipbox\hubspot\pipeline\Resource;
21 28
 use flipbox\hubspot\services\resources\traits\ReadObjectTrait;
29
+use flipbox\hubspot\transformers\DynamicModelSuccess;
22 30
 use flipbox\hubspot\transformers\collections\DynamicTransformerCollection;
23 31
 use flipbox\hubspot\transformers\collections\TransformerCollectionInterface;
24
-use flipbox\hubspot\transformers\DynamicModelSuccess;
25
-use Flipbox\Relay\Builder\RelayBuilderInterface;
26
-use Flipbox\Relay\HubSpot\Builder\Resources\Company\Contacts\Add;
27
-use Flipbox\Relay\HubSpot\Builder\Resources\Company\Contacts\All;
28
-use Flipbox\Relay\HubSpot\Builder\Resources\Company\Contacts\Remove;
29
-use League\Pipeline\PipelineBuilderInterface;
30
-use Psr\Http\Message\ResponseInterface;
31
-use Psr\SimpleCache\CacheInterface;
32 32
 use yii\base\Component;
33 33
 
34 34
 /**
Please login to merge, or discard this patch.
Doc Comments   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -131,9 +131,9 @@  discard block
 block discarded – undo
131 131
     /**
132 132
      * @param string $companyId
133 133
      * @param string $contactId
134
-     * @param ConnectionInterface|string|null $connection
135
-     * @param CacheInterface|string|null $cache
136
-     * @param TransformerCollectionInterface|array|null $transformer
134
+     * @param null|ConnectionInterface $connection
135
+     * @param null|CacheInterface $cache
136
+     * @param null|TransformerCollectionInterface $transformer
137 137
      * @param array $extra
138 138
      * @return mixed
139 139
      * @throws \yii\base\InvalidConfigException
@@ -175,9 +175,9 @@  discard block
 block discarded – undo
175 175
     /**
176 176
      * @param string $companyId
177 177
      * @param string $contactId
178
-     * @param ConnectionInterface|string|null $connection
179
-     * @param CacheInterface|string|null $cache
180
-     * @param TransformerCollectionInterface|array|null $transformer
178
+     * @param null|ConnectionInterface $connection
179
+     * @param null|CacheInterface $cache
180
+     * @param null|TransformerCollectionInterface $transformer
181 181
      * @return PipelineBuilderInterface
182 182
      * @throws \yii\base\InvalidConfigException
183 183
      */
@@ -226,8 +226,8 @@  discard block
 block discarded – undo
226 226
     /**
227 227
      * @param string $companyId
228 228
      * @param string $contactId
229
-     * @param ConnectionInterface|string|null $connection
230
-     * @param CacheInterface|string|null $cache
229
+     * @param null|ConnectionInterface $connection
230
+     * @param null|CacheInterface $cache
231 231
      * @return callable
232 232
      * @throws \yii\base\InvalidConfigException
233 233
      */
@@ -270,8 +270,8 @@  discard block
 block discarded – undo
270 270
     /**
271 271
      * @param string $companyId
272 272
      * @param string $contactId
273
-     * @param ConnectionInterface|string|null $connection
274
-     * @param CacheInterface|string|null $cache
273
+     * @param null|ConnectionInterface $connection
274
+     * @param null|CacheInterface $cache
275 275
      * @return ResponseInterface
276 276
      * @throws \yii\base\InvalidConfigException
277 277
      */
@@ -317,9 +317,9 @@  discard block
 block discarded – undo
317 317
     /**
318 318
      * @param string $companyId
319 319
      * @param string $contactId
320
-     * @param ConnectionInterface|string|null $connection
321
-     * @param CacheInterface|string|null $cache
322
-     * @param TransformerCollectionInterface|array|null $transformer
320
+     * @param null|ConnectionInterface $connection
321
+     * @param null|CacheInterface $cache
322
+     * @param null|TransformerCollectionInterface $transformer
323 323
      * @param array $extra
324 324
      * @return mixed
325 325
      * @throws \yii\base\InvalidConfigException
@@ -361,9 +361,9 @@  discard block
 block discarded – undo
361 361
     /**
362 362
      * @param string $companyId
363 363
      * @param string $contactId
364
-     * @param ConnectionInterface|string|null $connection
365
-     * @param CacheInterface|string|null $cache
366
-     * @param TransformerCollectionInterface|array|null $transformer
364
+     * @param null|ConnectionInterface $connection
365
+     * @param null|CacheInterface $cache
366
+     * @param null|TransformerCollectionInterface $transformer
367 367
      * @return PipelineBuilderInterface
368 368
      * @throws \yii\base\InvalidConfigException
369 369
      */
@@ -412,8 +412,8 @@  discard block
 block discarded – undo
412 412
     /**
413 413
      * @param string $companyId
414 414
      * @param string $contactId
415
-     * @param ConnectionInterface|string|null $connection
416
-     * @param CacheInterface|string|null $cache
415
+     * @param null|ConnectionInterface $connection
416
+     * @param null|CacheInterface $cache
417 417
      * @return callable
418 418
      * @throws \yii\base\InvalidConfigException
419 419
      */
@@ -456,8 +456,8 @@  discard block
 block discarded – undo
456 456
     /**
457 457
      * @param string $companyId
458 458
      * @param string $contactId
459
-     * @param ConnectionInterface|string|null $connection
460
-     * @param CacheInterface|string|null $cache
459
+     * @param null|ConnectionInterface $connection
460
+     * @param null|CacheInterface $cache
461 461
      * @return ResponseInterface
462 462
      * @throws \yii\base\InvalidConfigException
463 463
      */
Please login to merge, or discard this patch.
src/services/resources/ContactListContacts.php 2 patches
Unused Use Statements   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -8,6 +8,14 @@  discard block
 block discarded – undo
8 8
 
9 9
 namespace flipbox\hubspot\services\resources;
10 10
 
11
+use Flipbox\Relay\Builder\RelayBuilderInterface;
12
+use Flipbox\Relay\HubSpot\Builder\Resources\ContactList\Contacts\Add;
13
+use Flipbox\Relay\HubSpot\Builder\Resources\ContactList\Contacts\All;
14
+use Flipbox\Relay\HubSpot\Builder\Resources\ContactList\Contacts\Remove;
15
+use League\Pipeline\PipelineBuilderInterface;
16
+use Psr\Http\Message\ResponseInterface;
17
+use Psr\SimpleCache\CacheInterface;
18
+use flipbox\hubspot\HubSpot;
11 19
 use flipbox\hubspot\connections\ConnectionInterface;
12 20
 use flipbox\hubspot\criteria\ContactListContactsAccessor;
13 21
 use flipbox\hubspot\criteria\ContactListContactsMutator;
@@ -16,19 +24,11 @@  discard block
 block discarded – undo
16 24
 use flipbox\hubspot\helpers\CacheHelper;
17 25
 use flipbox\hubspot\helpers\ConnectionHelper;
18 26
 use flipbox\hubspot\helpers\TransformerHelper;
19
-use flipbox\hubspot\HubSpot;
20 27
 use flipbox\hubspot\pipeline\Resource;
21 28
 use flipbox\hubspot\services\resources\traits\ReadObjectTrait;
29
+use flipbox\hubspot\transformers\DynamicModelSuccess;
22 30
 use flipbox\hubspot\transformers\collections\DynamicTransformerCollection;
23 31
 use flipbox\hubspot\transformers\collections\TransformerCollectionInterface;
24
-use flipbox\hubspot\transformers\DynamicModelSuccess;
25
-use Flipbox\Relay\Builder\RelayBuilderInterface;
26
-use Flipbox\Relay\HubSpot\Builder\Resources\ContactList\Contacts\Add;
27
-use Flipbox\Relay\HubSpot\Builder\Resources\ContactList\Contacts\All;
28
-use Flipbox\Relay\HubSpot\Builder\Resources\ContactList\Contacts\Remove;
29
-use League\Pipeline\PipelineBuilderInterface;
30
-use Psr\Http\Message\ResponseInterface;
31
-use Psr\SimpleCache\CacheInterface;
32 32
 use yii\base\Component;
33 33
 
34 34
 /**
Please login to merge, or discard this patch.
Doc Comments   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -131,9 +131,9 @@  discard block
 block discarded – undo
131 131
     /**
132 132
      * @param string $id
133 133
      * @param array $payload
134
-     * @param ConnectionInterface|string|null $connection
135
-     * @param CacheInterface|string|null $cache
136
-     * @param TransformerCollectionInterface|array|null $transformer
134
+     * @param null|ConnectionInterface $connection
135
+     * @param null|CacheInterface $cache
136
+     * @param null|TransformerCollectionInterface $transformer
137 137
      * @param array $extra
138 138
      * @return mixed
139 139
      * @throws \yii\base\InvalidConfigException
@@ -175,9 +175,9 @@  discard block
 block discarded – undo
175 175
     /**
176 176
      * @param string $id
177 177
      * @param array $payload
178
-     * @param ConnectionInterface|string|null $connection
179
-     * @param CacheInterface|string|null $cache
180
-     * @param TransformerCollectionInterface|array|null $transformer
178
+     * @param null|ConnectionInterface $connection
179
+     * @param null|CacheInterface $cache
180
+     * @param null|TransformerCollectionInterface $transformer
181 181
      * @return PipelineBuilderInterface
182 182
      * @throws \yii\base\InvalidConfigException
183 183
      */
@@ -226,8 +226,8 @@  discard block
 block discarded – undo
226 226
     /**
227 227
      * @param string $id
228 228
      * @param array $payload
229
-     * @param ConnectionInterface|string|null $connection
230
-     * @param CacheInterface|string|null $cache
229
+     * @param null|ConnectionInterface $connection
230
+     * @param null|CacheInterface $cache
231 231
      * @return callable
232 232
      * @throws \yii\base\InvalidConfigException
233 233
      */
@@ -270,8 +270,8 @@  discard block
 block discarded – undo
270 270
     /**
271 271
      * @param string $id
272 272
      * @param array $payload
273
-     * @param ConnectionInterface|string|null $connection
274
-     * @param CacheInterface|string|null $cache
273
+     * @param null|ConnectionInterface $connection
274
+     * @param null|CacheInterface $cache
275 275
      * @return ResponseInterface
276 276
      * @throws \yii\base\InvalidConfigException
277 277
      */
@@ -317,9 +317,9 @@  discard block
 block discarded – undo
317 317
     /**
318 318
      * @param string $id
319 319
      * @param array $payload
320
-     * @param ConnectionInterface|string|null $connection
321
-     * @param CacheInterface|string|null $cache
322
-     * @param TransformerCollectionInterface|array|null $transformer
320
+     * @param null|ConnectionInterface $connection
321
+     * @param null|CacheInterface $cache
322
+     * @param null|TransformerCollectionInterface $transformer
323 323
      * @param array $extra
324 324
      * @return mixed
325 325
      * @throws \yii\base\InvalidConfigException
@@ -361,9 +361,9 @@  discard block
 block discarded – undo
361 361
     /**
362 362
      * @param string $id
363 363
      * @param array $payload
364
-     * @param ConnectionInterface|string|null $connection
365
-     * @param CacheInterface|string|null $cache
366
-     * @param TransformerCollectionInterface|array|null $transformer
364
+     * @param null|ConnectionInterface $connection
365
+     * @param null|CacheInterface $cache
366
+     * @param null|TransformerCollectionInterface $transformer
367 367
      * @return PipelineBuilderInterface
368 368
      * @throws \yii\base\InvalidConfigException
369 369
      */
@@ -412,8 +412,8 @@  discard block
 block discarded – undo
412 412
     /**
413 413
      * @param string $id
414 414
      * @param array $payload
415
-     * @param ConnectionInterface|string|null $connection
416
-     * @param CacheInterface|string|null $cache
415
+     * @param null|ConnectionInterface $connection
416
+     * @param null|CacheInterface $cache
417 417
      * @return callable
418 418
      * @throws \yii\base\InvalidConfigException
419 419
      */
@@ -456,8 +456,8 @@  discard block
 block discarded – undo
456 456
     /**
457 457
      * @param string $id
458 458
      * @param array $payload
459
-     * @param ConnectionInterface|string|null $connection
460
-     * @param CacheInterface|string|null $cache
459
+     * @param null|ConnectionInterface $connection
460
+     * @param null|CacheInterface $cache
461 461
      * @return ResponseInterface
462 462
      * @throws \yii\base\InvalidConfigException
463 463
      */
Please login to merge, or discard this patch.
src/services/resources/traits/CreateObjectTrait.php 2 patches
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,16 +8,16 @@
 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 flipbox\hubspot\HubSpot;
11 15
 use flipbox\hubspot\connections\ConnectionInterface;
12 16
 use flipbox\hubspot\criteria\ObjectMutatorInterface;
13 17
 use flipbox\hubspot\helpers\ConnectionHelper;
14 18
 use flipbox\hubspot\helpers\TransformerHelper;
15
-use flipbox\hubspot\HubSpot;
16 19
 use flipbox\hubspot\pipeline\Resource;
17 20
 use flipbox\hubspot\transformers\collections\TransformerCollectionInterface;
18
-use Flipbox\Relay\Builder\RelayBuilderInterface;
19
-use League\Pipeline\PipelineBuilderInterface;
20
-use Psr\Http\Message\ResponseInterface;
21 21
 
22 22
 /**
23 23
  * @author Flipbox Factory <[email protected]>
Please login to merge, or discard this patch.
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -55,8 +55,8 @@  discard block
 block discarded – undo
55 55
 
56 56
     /**
57 57
      * @param array $payload
58
-     * @param ConnectionInterface|string|null $connection
59
-     * @param TransformerCollectionInterface|array|null $transformer
58
+     * @param null|ConnectionInterface $connection
59
+     * @param null|TransformerCollectionInterface $transformer
60 60
      * @param array $extra
61 61
      * @return mixed
62 62
      * @throws \yii\base\InvalidConfigException
@@ -91,8 +91,8 @@  discard block
 block discarded – undo
91 91
 
92 92
     /**
93 93
      * @param array $payload
94
-     * @param ConnectionInterface|string|null $connection
95
-     * @param TransformerCollectionInterface|array|null $transformer
94
+     * @param null|ConnectionInterface $connection
95
+     * @param null|TransformerCollectionInterface $transformer
96 96
      * @return PipelineBuilderInterface
97 97
      * @throws \yii\base\InvalidConfigException
98 98
      */
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
 
135 135
     /**
136 136
      * @param array $payload
137
-     * @param ConnectionInterface|string|null $connection
137
+     * @param null|ConnectionInterface $connection
138 138
      * @return callable
139 139
      * @throws \yii\base\InvalidConfigException
140 140
      */
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
 
171 171
     /**
172 172
      * @param array $payload
173
-     * @param ConnectionInterface|string|null $connection
173
+     * @param null|ConnectionInterface $connection
174 174
      * @return ResponseInterface
175 175
      * @throws \yii\base\InvalidConfigException
176 176
      */
Please login to merge, or discard this patch.
src/services/resources/traits/DeleteObjectTrait.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
@@ -58,9 +58,9 @@  discard block
 block discarded – undo
58 58
 
59 59
     /**
60 60
      * @param string $id
61
-     * @param ConnectionInterface|string|null $connection
62
-     * @param CacheInterface|string|null $cache
63
-     * @param TransformerCollectionInterface|array|null $transformer
61
+     * @param null|ConnectionInterface $connection
62
+     * @param null|CacheInterface $cache
63
+     * @param null|TransformerCollectionInterface $transformer
64 64
      * @param array $extra
65 65
      * @return mixed
66 66
      * @throws \yii\base\InvalidConfigException
@@ -98,9 +98,9 @@  discard block
 block discarded – undo
98 98
 
99 99
     /**
100 100
      * @param string $id
101
-     * @param ConnectionInterface|string|null $connection
102
-     * @param CacheInterface|string|null $cache
103
-     * @param TransformerCollectionInterface|array|null $transformer
101
+     * @param null|ConnectionInterface $connection
102
+     * @param null|CacheInterface $cache
103
+     * @param null|TransformerCollectionInterface $transformer
104 104
      * @return PipelineBuilderInterface
105 105
      * @throws \yii\base\InvalidConfigException
106 106
      */
@@ -145,8 +145,8 @@  discard block
 block discarded – undo
145 145
 
146 146
     /**
147 147
      * @param string $id
148
-     * @param ConnectionInterface|string|null $connection
149
-     * @param CacheInterface|string|null $cache
148
+     * @param null|ConnectionInterface $connection
149
+     * @param null|CacheInterface $cache
150 150
      * @return callable
151 151
      * @throws \yii\base\InvalidConfigException
152 152
      */
@@ -185,8 +185,8 @@  discard block
 block discarded – undo
185 185
 
186 186
     /**
187 187
      * @param string $id
188
-     * @param ConnectionInterface|string|null $connection
189
-     * @param CacheInterface|string|null $cache
188
+     * @param null|ConnectionInterface $connection
189
+     * @param null|CacheInterface $cache
190 190
      * @return ResponseInterface
191 191
      * @throws \yii\base\InvalidConfigException
192 192
      */
Please login to merge, or discard this patch.