Completed
Push — develop ( 2cc095...fee95e )
by Nate
04:59
created
src/services/resources/TimelineEvents.php 2 patches
Doc Comments   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -110,8 +110,8 @@  discard block
 block discarded – undo
110 110
      * @param string $id
111 111
      * @param string $typeId
112 112
      * @param IntegrationConnectionInterface|null $connection
113
-     * @param CacheInterface|string|null $cache
114
-     * @param TransformerCollectionInterface|array|null $transformer
113
+     * @param null|CacheInterface $cache
114
+     * @param null|TransformerCollectionInterface $transformer
115 115
      * @param null $source
116 116
      * @return mixed
117 117
      * @throws \yii\base\InvalidConfigException
@@ -154,8 +154,8 @@  discard block
 block discarded – undo
154 154
      * @param string $id
155 155
      * @param string $typeId
156 156
      * @param IntegrationConnectionInterface|null $connection
157
-     * @param CacheInterface|string|null $cache
158
-     * @param TransformerCollectionInterface|array|null $transformer
157
+     * @param null|CacheInterface $cache
158
+     * @param null|TransformerCollectionInterface $transformer
159 159
      * @return PipelineBuilderInterface
160 160
      * @throws \yii\base\InvalidConfigException
161 161
      */
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
      * @param string $id
206 206
      * @param string $typeId
207 207
      * @param IntegrationConnectionInterface|null $connection
208
-     * @param CacheInterface|string|null $cache
208
+     * @param null|CacheInterface $cache
209 209
      * @return ResponseInterface
210 210
      * @throws \yii\base\InvalidConfigException
211 211
      */
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
 
226 226
     /**
227 227
      * @param TimelineEventCriteriaInterface $criteria
228
-     * @return callable
228
+     * @return \Flipbox\Relay\Runner\Runner
229 229
      * @throws \yii\base\InvalidConfigException
230 230
      */
231 231
     public function httpReadRelay(
@@ -243,8 +243,8 @@  discard block
 block discarded – undo
243 243
      * @param string $id
244 244
      * @param string $typeId
245 245
      * @param IntegrationConnectionInterface|null $connection
246
-     * @param CacheInterface|string|null $cache
247
-     * @return callable
246
+     * @param null|CacheInterface $cache
247
+     * @return \Flipbox\Relay\Runner\Runner
248 248
      * @throws \yii\base\InvalidConfigException
249 249
      */
250 250
     public function rawHttpReadRelay(
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
      * @param TimelineEventBuilderInterface $builder
275 275
      * @param IntegrationConnectionInterface $connection
276 276
      * @param CacheInterface $cache
277
-     * @param TransformerCollectionInterface|array|null $transformer
277
+     * @param null|TransformerCollectionInterface $transformer
278 278
      * @param mixed|null $source
279 279
      * @return mixed
280 280
      * @throws \yii\base\InvalidConfigException
@@ -302,8 +302,8 @@  discard block
 block discarded – undo
302 302
      * @param string $id
303 303
      * @param array $payload
304 304
      * @param IntegrationConnectionInterface|null $connection
305
-     * @param CacheInterface|string|null $cache
306
-     * @param TransformerCollectionInterface|array|null $transformer
305
+     * @param null|CacheInterface $cache
306
+     * @param null|TransformerCollectionInterface $transformer
307 307
      * @param null $source
308 308
      * @return mixed
309 309
      * @throws \yii\base\InvalidConfigException
@@ -330,8 +330,8 @@  discard block
 block discarded – undo
330 330
     /**
331 331
      * @param TimelineEventBuilderInterface $builder
332 332
      * @param IntegrationConnectionInterface|null $connection
333
-     * @param CacheInterface|string|null $cache
334
-     * @param TransformerCollectionInterface|array|null $transformer
333
+     * @param null|CacheInterface $cache
334
+     * @param null|TransformerCollectionInterface $transformer
335 335
      * @return PipelineBuilderInterface
336 336
      * @throws \yii\base\InvalidConfigException
337 337
      */
@@ -356,8 +356,8 @@  discard block
 block discarded – undo
356 356
      * @param string $id
357 357
      * @param array $payload
358 358
      * @param IntegrationConnectionInterface|null $connection
359
-     * @param CacheInterface|string|null $cache
360
-     * @param TransformerCollectionInterface|array|null $transformer
359
+     * @param null|CacheInterface $cache
360
+     * @param null|TransformerCollectionInterface $transformer
361 361
      * @return PipelineBuilderInterface
362 362
      * @throws \yii\base\InvalidConfigException
363 363
      */
@@ -392,7 +392,7 @@  discard block
 block discarded – undo
392 392
     /**
393 393
      * @param TimelineEventBuilderInterface $builder
394 394
      * @param IntegrationConnectionInterface|null $connection
395
-     * @param CacheInterface|string|null $cache
395
+     * @param null|CacheInterface $cache
396 396
      * @return ResponseInterface
397 397
      * @throws \yii\base\InvalidConfigException
398 398
      */
@@ -415,7 +415,7 @@  discard block
 block discarded – undo
415 415
      * @param string $id
416 416
      * @param array $payload
417 417
      * @param IntegrationConnectionInterface|null $connection
418
-     * @param CacheInterface|string|null $cache
418
+     * @param null|CacheInterface $cache
419 419
      * @return ResponseInterface
420 420
      * @throws \yii\base\InvalidConfigException
421 421
      */
@@ -438,8 +438,8 @@  discard block
 block discarded – undo
438 438
     /**
439 439
      * @param TimelineEventBuilderInterface $builder
440 440
      * @param IntegrationConnectionInterface|null $connection
441
-     * @param CacheInterface|string|null $cache
442
-     * @return callable
441
+     * @param null|CacheInterface $cache
442
+     * @return \Flipbox\Relay\Runner\Runner
443 443
      * @throws \yii\base\InvalidConfigException
444 444
      */
445 445
     public function httpUpsertRelay(
@@ -461,8 +461,8 @@  discard block
 block discarded – undo
461 461
      * @param string $id
462 462
      * @param array $payload
463 463
      * @param IntegrationConnectionInterface|null $connection
464
-     * @param CacheInterface|string|null $cache
465
-     * @return callable
464
+     * @param null|CacheInterface $cache
465
+     * @return \Flipbox\Relay\Runner\Runner
466 466
      * @throws \yii\base\InvalidConfigException
467 467
      */
468 468
     public function rawHttpUpsertRelay(
Please login to merge, or discard this patch.
Unused Use Statements   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -9,22 +9,21 @@
 block discarded – undo
9 9
 namespace flipbox\hubspot\services\resources;
10 10
 
11 11
 use Craft;
12
-use craft\helpers\ArrayHelper;
12
+use Flipbox\Relay\HubSpot\Builder\Resources\Timeline\Event\Read;
13
+use Flipbox\Relay\HubSpot\Builder\Resources\Timeline\Event\Upsert;
14
+use League\Pipeline\PipelineBuilderInterface;
15
+use Psr\Http\Message\ResponseInterface;
16
+use Psr\SimpleCache\CacheInterface;
17
+use flipbox\hubspot\HubSpot;
13 18
 use flipbox\hubspot\builders\TimelineEventBuilderInterface;
14 19
 use flipbox\hubspot\connections\IntegrationConnectionInterface;
15 20
 use flipbox\hubspot\criteria\TimelineEventCriteriaInterface;
16 21
 use flipbox\hubspot\helpers\CacheHelper;
17 22
 use flipbox\hubspot\helpers\ConnectionHelper;
18 23
 use flipbox\hubspot\helpers\TransformerHelper;
19
-use flipbox\hubspot\HubSpot;
20 24
 use flipbox\hubspot\pipeline\Resource;
21 25
 use flipbox\hubspot\queue\jobs\UpsertTimelineEvent;
22 26
 use flipbox\hubspot\transformers\collections\TransformerCollectionInterface;
23
-use Flipbox\Relay\HubSpot\Builder\Resources\Timeline\Event\Read;
24
-use Flipbox\Relay\HubSpot\Builder\Resources\Timeline\Event\Upsert;
25
-use League\Pipeline\PipelineBuilderInterface;
26
-use Psr\Http\Message\ResponseInterface;
27
-use Psr\SimpleCache\CacheInterface;
28 27
 use yii\base\Component;
29 28
 
30 29
 /**
Please login to merge, or discard this patch.
src/services/resources/traits/CreateObjectTrait.php 1 patch
Doc Comments   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -32,8 +32,8 @@  discard block
 block discarded – undo
32 32
 
33 33
     /**
34 34
      * @param ObjectBuilderInterface $builder
35
-     * @param ConnectionInterface|string|null $connection
36
-     * @param TransformerCollectionInterface|array|null $transformer
35
+     * @param null|ConnectionInterface $connection
36
+     * @param null|TransformerCollectionInterface $transformer
37 37
      * @param null $source
38 38
      * @return mixed
39 39
      * @throws \yii\base\InvalidConfigException
@@ -54,8 +54,8 @@  discard block
 block discarded – undo
54 54
 
55 55
     /**
56 56
      * @param array $payload
57
-     * @param ConnectionInterface|string|null $connection
58
-     * @param TransformerCollectionInterface|array|null $transformer
57
+     * @param null|ConnectionInterface $connection
58
+     * @param null|TransformerCollectionInterface $transformer
59 59
      * @param null $source
60 60
      * @return mixed
61 61
      * @throws \yii\base\InvalidConfigException
@@ -75,8 +75,8 @@  discard block
 block discarded – undo
75 75
 
76 76
     /**
77 77
      * @param ObjectBuilderInterface $builder
78
-     * @param ConnectionInterface|string|null $connection
79
-     * @param TransformerCollectionInterface|array|null $transformer
78
+     * @param null|ConnectionInterface $connection
79
+     * @param null|TransformerCollectionInterface $transformer
80 80
      * @return PipelineBuilderInterface
81 81
      * @throws \yii\base\InvalidConfigException
82 82
      */
@@ -94,8 +94,8 @@  discard block
 block discarded – undo
94 94
 
95 95
     /**
96 96
      * @param array $payload
97
-     * @param ConnectionInterface|string|null $connection
98
-     * @param TransformerCollectionInterface|array|null $transformer
97
+     * @param null|ConnectionInterface $connection
98
+     * @param null|TransformerCollectionInterface $transformer
99 99
      * @return PipelineBuilderInterface
100 100
      * @throws \yii\base\InvalidConfigException
101 101
      */
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 
124 124
     /**
125 125
      * @param ObjectBuilderInterface $builder
126
-     * @param ConnectionInterface|string|null $connection
126
+     * @param null|ConnectionInterface $connection
127 127
      * @return callable
128 128
      * @throws \yii\base\InvalidConfigException
129 129
      */
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
 
140 140
     /**
141 141
      * @param array $payload
142
-     * @param ConnectionInterface|string|null $connection
142
+     * @param null|ConnectionInterface $connection
143 143
      * @return callable
144 144
      * @throws \yii\base\InvalidConfigException
145 145
      */
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
 
162 162
     /**
163 163
      * @param ObjectBuilderInterface $builder
164
-     * @param ConnectionInterface|string|null $connection
164
+     * @param null|ConnectionInterface $connection
165 165
      * @return ResponseInterface
166 166
      * @throws \yii\base\InvalidConfigException
167 167
      */
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 
178 178
     /**
179 179
      * @param array $payload
180
-     * @param ConnectionInterface|string|null $connection
180
+     * @param null|ConnectionInterface $connection
181 181
      * @return ResponseInterface
182 182
      * @throws \yii\base\InvalidConfigException
183 183
      */
Please login to merge, or discard this patch.
src/services/resources/traits/DeleteObjectTrait.php 1 patch
Doc Comments   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -34,9 +34,9 @@  discard block
 block discarded – undo
34 34
 
35 35
     /**
36 36
      * @param ObjectBuilderInterface $builder
37
-     * @param ConnectionInterface|string|null $connection
38
-     * @param CacheInterface|string|null $cache
39
-     * @param TransformerCollectionInterface|array|null $transformer
37
+     * @param null|ConnectionInterface $connection
38
+     * @param null|CacheInterface $cache
39
+     * @param null|TransformerCollectionInterface $transformer
40 40
      * @param null $source
41 41
      * @return mixed
42 42
      * @throws \yii\base\InvalidConfigException
@@ -59,9 +59,9 @@  discard block
 block discarded – undo
59 59
 
60 60
     /**
61 61
      * @param string $id
62
-     * @param ConnectionInterface|string|null $connection
63
-     * @param CacheInterface|string|null $cache
64
-     * @param TransformerCollectionInterface|array|null $transformer
62
+     * @param null|ConnectionInterface $connection
63
+     * @param null|CacheInterface $cache
64
+     * @param null|TransformerCollectionInterface $transformer
65 65
      * @param null $source
66 66
      * @return mixed
67 67
      * @throws \yii\base\InvalidConfigException
@@ -83,9 +83,9 @@  discard block
 block discarded – undo
83 83
 
84 84
     /**
85 85
      * @param ObjectBuilderInterface $builder
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
      * @return PipelineBuilderInterface
90 90
      * @throws \yii\base\InvalidConfigException
91 91
      */
@@ -105,9 +105,9 @@  discard block
 block discarded – undo
105 105
 
106 106
     /**
107 107
      * @param string $id
108
-     * @param ConnectionInterface|string|null $connection
109
-     * @param CacheInterface|string|null $cache
110
-     * @param TransformerCollectionInterface|array|null $transformer
108
+     * @param null|ConnectionInterface $connection
109
+     * @param null|CacheInterface $cache
110
+     * @param null|TransformerCollectionInterface $transformer
111 111
      * @return PipelineBuilderInterface
112 112
      * @throws \yii\base\InvalidConfigException
113 113
      */
@@ -137,8 +137,8 @@  discard block
 block discarded – undo
137 137
 
138 138
     /**
139 139
      * @param ObjectBuilderInterface $builder
140
-     * @param ConnectionInterface|string|null $connection
141
-     * @param CacheInterface|string|null $cache
140
+     * @param null|ConnectionInterface $connection
141
+     * @param null|CacheInterface $cache
142 142
      * @return callable
143 143
      * @throws \yii\base\InvalidConfigException
144 144
      */
@@ -156,8 +156,8 @@  discard block
 block discarded – undo
156 156
 
157 157
     /**
158 158
      * @param string $id
159
-     * @param ConnectionInterface|string|null $connection
160
-     * @param CacheInterface|string|null $cache
159
+     * @param null|ConnectionInterface $connection
160
+     * @param null|CacheInterface $cache
161 161
      * @return callable
162 162
      * @throws \yii\base\InvalidConfigException
163 163
      */
@@ -181,8 +181,8 @@  discard block
 block discarded – undo
181 181
 
182 182
     /**
183 183
      * @param ObjectBuilderInterface $builder
184
-     * @param ConnectionInterface|string|null $connection
185
-     * @param CacheInterface|string|null $cache
184
+     * @param null|ConnectionInterface $connection
185
+     * @param null|CacheInterface $cache
186 186
      * @return ResponseInterface
187 187
      * @throws \yii\base\InvalidConfigException
188 188
      */
@@ -200,8 +200,8 @@  discard block
 block discarded – undo
200 200
 
201 201
     /**
202 202
      * @param string $id
203
-     * @param ConnectionInterface|string|null $connection
204
-     * @param CacheInterface|string|null $cache
203
+     * @param null|ConnectionInterface $connection
204
+     * @param null|CacheInterface $cache
205 205
      * @return ResponseInterface
206 206
      * @throws \yii\base\InvalidConfigException
207 207
      */
Please login to merge, or discard this patch.
src/services/resources/traits/ReadObjectTrait.php 1 patch
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -34,8 +34,8 @@  discard block
 block discarded – undo
34 34
 
35 35
     /**
36 36
      * @param $id
37
-     * @param ConnectionInterface|string|null $connection
38
-     * @param CacheInterface|string|null $cache
37
+     * @param null|ConnectionInterface $connection
38
+     * @param null|CacheInterface $cache
39 39
      * @return callable
40 40
      * @throws \yii\base\InvalidConfigException
41 41
      */
@@ -78,9 +78,9 @@  discard block
 block discarded – undo
78 78
 
79 79
     /**
80 80
      * @param $id
81
-     * @param ConnectionInterface|string|null $connection
82
-     * @param CacheInterface|string|null $cache
83
-     * @param TransformerCollectionInterface|array|null $transformer
81
+     * @param null|ConnectionInterface $connection
82
+     * @param null|CacheInterface $cache
83
+     * @param null|TransformerCollectionInterface $transformer
84 84
      * @param null $source
85 85
      * @return mixed
86 86
      * @throws \yii\base\InvalidConfigException
@@ -118,9 +118,9 @@  discard block
 block discarded – undo
118 118
 
119 119
     /**
120 120
      * @param $id
121
-     * @param ConnectionInterface|string|null $connection
122
-     * @param CacheInterface|string|null $cache
123
-     * @param TransformerCollectionInterface|array|null $transformer
121
+     * @param null|ConnectionInterface $connection
122
+     * @param null|CacheInterface $cache
123
+     * @param null|TransformerCollectionInterface $transformer
124 124
      * @return PipelineBuilderInterface
125 125
      * @throws \yii\base\InvalidConfigException
126 126
      */
@@ -164,9 +164,9 @@  discard block
 block discarded – undo
164 164
     }
165 165
 
166 166
     /**
167
-     * @param $id
168
-     * @param ConnectionInterface|string|null $connection
169
-     * @param CacheInterface|string|null $cache
167
+     * @param string|null $id
168
+     * @param null|ConnectionInterface $connection
169
+     * @param null|CacheInterface $cache
170 170
      * @return ResponseInterface
171 171
      * @throws \yii\base\InvalidConfigException
172 172
      */
Please login to merge, or discard this patch.
src/services/resources/traits/SyncByElementTrait.php 1 patch
Doc Comments   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -31,9 +31,9 @@  discard block
 block discarded – undo
31 31
 
32 32
     /**
33 33
      * @param string $id
34
-     * @param ConnectionInterface|string|null $connection
35
-     * @param CacheInterface|string|null $cache
36
-     * @param TransformerCollectionInterface|array|null $transformer
34
+     * @param null|ConnectionInterface $connection
35
+     * @param null|CacheInterface $cache
36
+     * @param null|TransformerCollectionInterface $transformer
37 37
      * @return PipelineBuilderInterface
38 38
      */
39 39
     public abstract function rawReadPipeline(
@@ -46,9 +46,9 @@  discard block
 block discarded – undo
46 46
     /**
47 47
      * @param array $payload
48 48
      * @param string|null $identifier
49
-     * @param ConnectionInterface|string|null $connection
50
-     * @param CacheInterface|string|null $cache
51
-     * @param TransformerCollectionInterface|array|null $transformer
49
+     * @param null|ConnectionInterface $connection
50
+     * @param null|CacheInterface $cache
51
+     * @param null|TransformerCollectionInterface $transformer
52 52
      * @return PipelineBuilderInterface
53 53
      */
54 54
     public abstract function rawUpsertPipeline(
@@ -62,9 +62,9 @@  discard block
 block discarded – undo
62 62
     /**
63 63
      * @param ElementInterface $element
64 64
      * @param Objects $field
65
-     * @param ConnectionInterface|string|null $connection
66
-     * @param CacheInterface|string|null $cache
67
-     * @param TransformerCollectionInterface|array|null $transformer
65
+     * @param null|ConnectionInterface $connection
66
+     * @param null|CacheInterface $cache
67
+     * @param null|TransformerCollectionInterface $transformer
68 68
      * @return bool
69 69
      */
70 70
     public function syncDown(
@@ -97,10 +97,10 @@  discard block
 block discarded – undo
97 97
     /**
98 98
      * @param ElementInterface $element
99 99
      * @param Objects $field
100
-     * @param ConnectionInterface|string|null $connection
101
-     * @param CacheInterface|string|null $cache
102
-     * @param TransformerCollectionInterface|array|null $transformer
103
-     * @return false|string
100
+     * @param null|ConnectionInterface $connection
101
+     * @param null|CacheInterface $cache
102
+     * @param null|TransformerCollectionInterface $transformer
103
+     * @return boolean
104 104
      */
105 105
     public function syncUp(
106 106
         ElementInterface $element,
Please login to merge, or discard this patch.
src/services/resources/traits/UpdateObjectTrait.php 1 patch
Doc Comments   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -34,9 +34,9 @@  discard block
 block discarded – undo
34 34
 
35 35
     /**
36 36
      * @param ObjectBuilderInterface $builder
37
-     * @param ConnectionInterface|string|null $connection
38
-     * @param CacheInterface|string|null $cache
39
-     * @param TransformerCollectionInterface|array|null $transformer
37
+     * @param null|ConnectionInterface $connection
38
+     * @param null|CacheInterface $cache
39
+     * @param null|TransformerCollectionInterface $transformer
40 40
      * @param null $source
41 41
      * @return mixed
42 42
      * @throws \yii\base\InvalidConfigException
@@ -61,9 +61,9 @@  discard block
 block discarded – undo
61 61
     /**
62 62
      * @param string $id
63 63
      * @param array $payload
64
-     * @param ConnectionInterface|string|null $connection
65
-     * @param CacheInterface|string|null $cache
66
-     * @param TransformerCollectionInterface|array|null $transformer
64
+     * @param null|ConnectionInterface $connection
65
+     * @param null|CacheInterface $cache
66
+     * @param null|TransformerCollectionInterface $transformer
67 67
      * @param null $source
68 68
      * @return mixed
69 69
      * @throws \yii\base\InvalidConfigException
@@ -87,9 +87,9 @@  discard block
 block discarded – undo
87 87
 
88 88
     /**
89 89
      * @param ObjectBuilderInterface $builder
90
-     * @param ConnectionInterface|string|null $connection
91
-     * @param CacheInterface|string|null $cache
92
-     * @param TransformerCollectionInterface|array|null $transformer
90
+     * @param null|ConnectionInterface $connection
91
+     * @param null|CacheInterface $cache
92
+     * @param null|TransformerCollectionInterface $transformer
93 93
      * @return PipelineBuilderInterface
94 94
      * @throws \yii\base\InvalidConfigException
95 95
      */
@@ -111,9 +111,9 @@  discard block
 block discarded – undo
111 111
     /**
112 112
      * @param string $id
113 113
      * @param array $payload
114
-     * @param ConnectionInterface|string|null $connection
115
-     * @param CacheInterface|string|null $cache
116
-     * @param TransformerCollectionInterface|array|null $transformer
114
+     * @param null|ConnectionInterface $connection
115
+     * @param null|CacheInterface $cache
116
+     * @param null|TransformerCollectionInterface $transformer
117 117
      * @return PipelineBuilderInterface
118 118
      * @throws \yii\base\InvalidConfigException
119 119
      */
@@ -145,8 +145,8 @@  discard block
 block discarded – undo
145 145
 
146 146
     /**
147 147
      * @param ObjectBuilderInterface $builder
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
      */
@@ -166,8 +166,8 @@  discard block
 block discarded – undo
166 166
     /**
167 167
      * @param string $id
168 168
      * @param array $payload
169
-     * @param ConnectionInterface|string|null $connection
170
-     * @param CacheInterface|string|null $cache
169
+     * @param null|ConnectionInterface $connection
170
+     * @param null|CacheInterface $cache
171 171
      * @return callable
172 172
      * @throws \yii\base\InvalidConfigException
173 173
      */
@@ -193,8 +193,8 @@  discard block
 block discarded – undo
193 193
 
194 194
     /**
195 195
      * @param ObjectBuilderInterface $builder
196
-     * @param ConnectionInterface|string|null $connection
197
-     * @param CacheInterface|string|null $cache
196
+     * @param null|ConnectionInterface $connection
197
+     * @param null|CacheInterface $cache
198 198
      * @return ResponseInterface
199 199
      * @throws \yii\base\InvalidConfigException
200 200
      */
@@ -214,8 +214,8 @@  discard block
 block discarded – undo
214 214
     /**
215 215
      * @param string $id
216 216
      * @param array $payload
217
-     * @param ConnectionInterface|string|null $connection
218
-     * @param CacheInterface|string|null $cache
217
+     * @param null|ConnectionInterface $connection
218
+     * @param null|CacheInterface $cache
219 219
      * @return ResponseInterface
220 220
      * @throws \yii\base\InvalidConfigException
221 221
      */
Please login to merge, or discard this patch.
src/services/resources/traits/UpsertObjectTrait.php 1 patch
Doc Comments   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -35,9 +35,9 @@  discard block
 block discarded – undo
35 35
 
36 36
     /**
37 37
      * @param ObjectBuilderInterface $builder
38
-     * @param ConnectionInterface|string|null $connection
39
-     * @param CacheInterface|string|null $cache
40
-     * @param TransformerCollectionInterface|array|null $transformer
38
+     * @param null|ConnectionInterface $connection
39
+     * @param null|CacheInterface $cache
40
+     * @param null|TransformerCollectionInterface $transformer
41 41
      * @param null $source
42 42
      * @return mixed
43 43
      * @throws \yii\base\InvalidConfigException
@@ -62,9 +62,9 @@  discard block
 block discarded – undo
62 62
     /**
63 63
      * @param array $payload
64 64
      * @param string|null $identifier
65
-     * @param ConnectionInterface|string|null $connection
66
-     * @param CacheInterface|string|null $cache
67
-     * @param TransformerCollectionInterface|array|null $transformer
65
+     * @param null|ConnectionInterface $connection
66
+     * @param null|CacheInterface $cache
67
+     * @param null|TransformerCollectionInterface $transformer
68 68
      * @param null $source
69 69
      * @return mixed
70 70
      * @throws \yii\base\InvalidConfigException
@@ -98,9 +98,9 @@  discard block
 block discarded – undo
98 98
 
99 99
     /**
100 100
      * @param ObjectBuilderInterface $builder
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
      */
@@ -122,9 +122,9 @@  discard block
 block discarded – undo
122 122
     /**
123 123
      * @param array $payload
124 124
      * @param string|null $identifier
125
-     * @param ConnectionInterface|string|null $connection
126
-     * @param CacheInterface|string|null $cache
127
-     * @param TransformerCollectionInterface|array|null $transformer
125
+     * @param null|ConnectionInterface $connection
126
+     * @param null|CacheInterface $cache
127
+     * @param null|TransformerCollectionInterface $transformer
128 128
      * @return PipelineBuilderInterface
129 129
      * @throws \yii\base\InvalidConfigException
130 130
      */
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 
154 154
     /**
155 155
      * @param ObjectBuilderInterface $builder
156
-     * @param ConnectionInterface|string|null $connection
156
+     * @param null|ConnectionInterface $connection
157 157
      * @return callable
158 158
      * @throws \yii\base\InvalidConfigException
159 159
      */
@@ -170,8 +170,8 @@  discard block
 block discarded – undo
170 170
     /**
171 171
      * @param array $payload
172 172
      * @param string|null $identifier
173
-     * @param ConnectionInterface|string|null $connection
174
-     * @param CacheInterface|string|null $cache
173
+     * @param null|ConnectionInterface $connection
174
+     * @param null|CacheInterface $cache
175 175
      * @return callable
176 176
      * @throws \yii\base\InvalidConfigException
177 177
      */
@@ -198,8 +198,8 @@  discard block
 block discarded – undo
198 198
 
199 199
     /**
200 200
      * @param ObjectBuilderInterface $builder
201
-     * @param ConnectionInterface|string|null $connection
202
-     * @param CacheInterface|string|null $cache
201
+     * @param null|ConnectionInterface $connection
202
+     * @param null|CacheInterface $cache
203 203
      * @return ResponseInterface
204 204
      * @throws \yii\base\InvalidConfigException
205 205
      */
@@ -219,8 +219,8 @@  discard block
 block discarded – undo
219 219
     /**
220 220
      * @param array $payload
221 221
      * @param string|null $identifier
222
-     * @param ConnectionInterface|string|null $connection
223
-     * @param CacheInterface|string|null $cache
222
+     * @param null|ConnectionInterface $connection
223
+     * @param null|CacheInterface $cache
224 224
      * @return ResponseInterface
225 225
      * @throws \yii\base\InvalidConfigException
226 226
      */
Please login to merge, or discard this patch.