Passed
Pull Request — master (#723)
by Fedets
09:15
created

getSalesOrderItemCollectionPreDeletePlugins()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 9

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 9
dl 0
loc 11
rs 9.9666
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * This file is part of the Spryker Commerce OS.
5
 * For full license information, please view the LICENSE file that was distributed with this source code.
6
 */
7
8
declare(strict_types = 1);
9
10
namespace Pyz\Zed\Sales;
11
12
use Spryker\Zed\CommentSalesConnector\Communication\Plugin\Sales\CommentThreadAttachedCommentOrderPostSavePlugin;
13
use Spryker\Zed\CommentSalesConnector\Communication\Plugin\Sales\CommentThreadOrderExpanderPlugin;
14
use Spryker\Zed\CommentSalesConnector\Communication\Plugin\Sales\SaveOrderCommentThreadOrderPostSavePlugin;
15
use Spryker\Zed\CompanyBusinessUnitSalesConnector\Communication\Plugin\Sales\CompanyBusinessUnitCustomerFilterOrderSearchQueryExpanderPlugin;
16
use Spryker\Zed\CompanyBusinessUnitSalesConnector\Communication\Plugin\Sales\CompanyBusinessUnitCustomerOrderAccessCheckPlugin;
17
use Spryker\Zed\CompanyBusinessUnitSalesConnector\Communication\Plugin\Sales\CompanyBusinessUnitCustomerSortingOrderSearchQueryExpanderPlugin;
18
use Spryker\Zed\CompanyBusinessUnitSalesConnector\Communication\Plugin\Sales\CompanyBusinessUnitFilterOrderSearchQueryExpanderPlugin;
19
use Spryker\Zed\CompanyBusinessUnitSalesConnector\Communication\Plugin\Sales\SaveCompanyBusinessUnitUuidOrderPostSavePlugin;
20
use Spryker\Zed\CompanySalesConnector\Communication\Plugin\Sales\CompanyCustomerFilterOrderSearchQueryExpanderPlugin;
21
use Spryker\Zed\CompanySalesConnector\Communication\Plugin\Sales\CompanyCustomerOrderAccessCheckPlugin;
22
use Spryker\Zed\CompanySalesConnector\Communication\Plugin\Sales\CompanyCustomerSortingOrderSearchQueryExpanderPlugin;
23
use Spryker\Zed\CompanySalesConnector\Communication\Plugin\Sales\CompanyFilterOrderSearchQueryExpanderPlugin;
24
use Spryker\Zed\CompanySalesConnector\Communication\Plugin\Sales\SaveCompanyUuidOrderPostSavePlugin;
25
use Spryker\Zed\Currency\Communication\Plugin\Sales\CurrencyOrderExpanderPlugin;
26
use Spryker\Zed\Customer\Communication\Plugin\Sales\CustomerOrderHydratePlugin;
27
use Spryker\Zed\Discount\Communication\Plugin\Sales\DiscountOrderHydratePlugin;
28
use Spryker\Zed\Discount\Communication\Plugin\Sales\DiscountSalesOrderItemCollectionPreDeletePlugin;
29
use Spryker\Zed\Discount\Communication\Plugin\Sales\SalesDiscountSalesExpensePreDeletePlugin;
30
use Spryker\Zed\Nopayment\Communication\Plugin\Sales\NopaymentSalesOrderItemCollectionPreDeletePlugin;
31
use Spryker\Zed\Oms\Communication\Plugin\Sales\DefaultOrderItemInitialStateProviderPlugin;
32
use Spryker\Zed\Oms\Communication\Plugin\Sales\IsCancellableOrderExpanderPlugin;
33
use Spryker\Zed\Oms\Communication\Plugin\Sales\IsCancellableSearchOrderExpanderPlugin;
34
use Spryker\Zed\Oms\Communication\Plugin\Sales\ItemStateOrderItemExpanderPlugin;
35
use Spryker\Zed\Oms\Communication\Plugin\Sales\OmsItemHistorySalesOrderItemCollectionPreDeletePlugin;
36
use Spryker\Zed\Oms\Communication\Plugin\Sales\OmsStatesOrderExpanderPlugin;
37
use Spryker\Zed\Oms\Communication\Plugin\Sales\OrderAggregatedItemStateSearchOrderExpanderPlugin;
38
use Spryker\Zed\Oms\Communication\Plugin\Sales\StateHistoryOrderItemExpanderPlugin;
39
use Spryker\Zed\OmsMultiThread\Communication\Plugin\Sales\OmsMultiThreadProcessorIdentifierOrderExpanderPreSavePlugin;
40
use Spryker\Zed\OrderCustomReference\Communication\Plugin\Sales\OrderCustomReferenceOrderPostSavePlugin;
41
use Spryker\Zed\OrderCustomReference\Communication\Plugin\Sales\UpdateOrderCustomReferenceOrderPostSavePlugin;
42
use Spryker\Zed\ProductBundle\Communication\Plugin\Sales\ProductBundleIdHydratorPlugin;
43
use Spryker\Zed\ProductBundle\Communication\Plugin\Sales\ProductBundleOptionItemExpanderPlugin;
44
use Spryker\Zed\ProductBundle\Communication\Plugin\Sales\ProductBundleOptionOrderExpanderPlugin;
45
use Spryker\Zed\ProductBundle\Communication\Plugin\Sales\ProductBundleOrderHydratePlugin;
46
use Spryker\Zed\ProductBundle\Communication\Plugin\Sales\ProductBundleOrderItemExpanderPlugin;
47
use Spryker\Zed\ProductBundle\Communication\Plugin\Sales\UniqueOrderBundleItemsExpanderPlugin;
48
use Spryker\Zed\ProductMeasurementUnit\Communication\Plugin\Sales\QuantitySalesUnitOrderItemExpanderPlugin;
49
use Spryker\Zed\ProductMeasurementUnit\Communication\Plugin\SalesExtension\QuantitySalesUnitOrderItemExpanderPreSavePlugin;
50
use Spryker\Zed\ProductOption\Communication\Plugin\Sales\ProductOptionGroupIdHydratorPlugin;
51
use Spryker\Zed\ProductOption\Communication\Plugin\Sales\ProductOptionOrderItemsPostSavePlugin;
52
use Spryker\Zed\ProductOption\Communication\Plugin\Sales\ProductOptionSalesOrderItemCollectionPostUpdatePlugin;
53
use Spryker\Zed\ProductOption\Communication\Plugin\Sales\ProductOptionSalesOrderItemCollectionPreDeletePlugin;
54
use Spryker\Zed\ProductOption\Communication\Plugin\Sales\ProductOptionsOrderItemExpanderPlugin;
55
use Spryker\Zed\ProductPackagingUnit\Communication\Plugin\Checkout\PackagingUnitSplittableItemTransformerStrategyPlugin;
56
use Spryker\Zed\ProductPackagingUnit\Communication\Plugin\Sales\AmountLeadProductOrderItemExpanderPlugin;
57
use Spryker\Zed\ProductPackagingUnit\Communication\Plugin\Sales\AmountSalesUnitOrderItemExpanderPlugin;
58
use Spryker\Zed\ProductPackagingUnit\Communication\Plugin\SalesExtension\AmountSalesUnitOrderItemExpanderPreSavePlugin;
59
use Spryker\Zed\ProductPackagingUnit\Communication\Plugin\SalesExtension\ProductPackagingUnitOrderItemExpanderPreSavePlugin;
60
use Spryker\Zed\Sales\Communication\Plugin\Sales\CurrencyIsoCodeOrderItemExpanderPlugin;
61
use Spryker\Zed\Sales\SalesDependencyProvider as SprykerSalesDependencyProvider;
62
use Spryker\Zed\SalesConfigurableBundle\Communication\Plugin\Sales\ConfiguredBundleItemPreTransformerPlugin;
63
use Spryker\Zed\SalesConfigurableBundle\Communication\Plugin\Sales\ConfiguredBundleOrderItemExpanderPlugin;
64
use Spryker\Zed\SalesConfigurableBundle\Communication\Plugin\Sales\ConfiguredBundlesOrderItemsPostSavePlugin;
65
use Spryker\Zed\SalesConfigurableBundle\Communication\Plugin\Sales\SalesConfigurableBundleSalesOrderItemCollectionPreDeletePlugin;
66
use Spryker\Zed\SalesConfigurableBundle\Communication\Plugin\Sales\SalesConfiguredBundlesSalesOrderItemCollectionPostUpdatePlugin;
67
use Spryker\Zed\SalesOms\Communication\Plugin\OrderItemReferenceExpanderPreSavePlugin;
68
use Spryker\Zed\SalesOrderAmendment\Communication\Plugin\Sales\CreateSalesOrderAmendmentOrderPostSavePlugin;
69
use Spryker\Zed\SalesOrderAmendment\Communication\Plugin\Sales\SalesOrderAmendmentOrderExpanderPlugin;
70
use Spryker\Zed\SalesOrderAmendmentOms\Communication\Plugin\Sales\IsAmendableOrderExpanderPlugin;
71
use Spryker\Zed\SalesOrderAmendmentOms\Communication\Plugin\Sales\IsAmendableOrderSearchOrderExpanderPlugin;
72
use Spryker\Zed\SalesOrderAmendmentOms\Communication\Plugin\Sales\OrderAmendmentDefaultOrderItemInitialStateProviderPlugin;
73
use Spryker\Zed\SalesPayment\Communication\Plugin\Sales\SalesPaymentOrderExpanderPlugin;
74
use Spryker\Zed\SalesProductConfiguration\Communication\Plugin\Sales\ProductConfigurationOrderItemExpanderPlugin;
75
use Spryker\Zed\SalesProductConfiguration\Communication\Plugin\Sales\ProductConfigurationOrderItemsPostSavePlugin;
76
use Spryker\Zed\SalesProductConfiguration\Communication\Plugin\Sales\SalesProductConfigurationSalesOrderItemCollectionPostUpdatePlugin;
77
use Spryker\Zed\SalesProductConfiguration\Communication\Plugin\Sales\SalesProductConfigurationSalesOrderItemCollectionPreDeletePlugin;
78
use Spryker\Zed\SalesProductConnector\Communication\Plugin\Sales\ItemMetadataOrderItemsPostSavePlugin;
79
use Spryker\Zed\SalesProductConnector\Communication\Plugin\Sales\ItemMetadataSalesOrderItemCollectionPostUpdatePlugin;
80
use Spryker\Zed\SalesProductConnector\Communication\Plugin\Sales\ItemMetadataSalesOrderItemCollectionPreDeletePlugin;
81
use Spryker\Zed\SalesProductConnector\Communication\Plugin\Sales\ItemMetadataSearchOrderExpanderPlugin;
82
use Spryker\Zed\SalesProductConnector\Communication\Plugin\Sales\MetadataOrderItemExpanderPlugin;
83
use Spryker\Zed\SalesProductConnector\Communication\Plugin\Sales\ProductIdOrderItemExpanderPlugin;
84
use Spryker\Zed\SalesQuantity\Communication\Plugin\SalesExtension\IsQuantitySplittableOrderItemExpanderPreSavePlugin;
85
use Spryker\Zed\SalesQuantity\Communication\Plugin\SalesExtension\NonSplittableItemTransformerStrategyPlugin;
86
use Spryker\Zed\SalesQuoteRequestConnector\Communication\Plugin\Sales\QuoteRequestVersionReferenceOrderPostSavePlugin;
87
use Spryker\Zed\SalesReclamation\Communication\Plugin\Sales\SalesReclamationSalesOrderItemCollectionPreDeletePlugin;
88
use Spryker\Zed\SalesReclamationGui\Communication\Plugin\Sales\ReclamationSalesTablePlugin;
89
use Spryker\Zed\SalesReturn\Communication\Plugin\Sales\RemunerationTotalOrderExpanderPlugin;
90
use Spryker\Zed\SalesReturn\Communication\Plugin\Sales\UpdateOrderItemIsReturnableByGlobalReturnableNumberOfDaysPlugin;
91
use Spryker\Zed\SalesReturn\Communication\Plugin\Sales\UpdateOrderItemIsReturnableByItemStatePlugin;
92
use Spryker\Zed\Shipment\Communication\Plugin\ShipmentOrderHydratePlugin;
93
94
class SalesDependencyProvider extends SprykerSalesDependencyProvider
95
{
96
    /**
97
     * @return array<\Spryker\Zed\Sales\Dependency\Plugin\OrderExpanderPreSavePluginInterface>
98
     */
99
    protected function getOrderExpanderPreSavePlugins(): array
100
    {
101
        return [
102
            new OmsMultiThreadProcessorIdentifierOrderExpanderPreSavePlugin(),
103
        ];
104
    }
105
106
    /**
107
     * @return array<\Spryker\Zed\SalesExtension\Dependency\Plugin\OrderExpanderPluginInterface>
108
     */
109
    protected function getOrderHydrationPlugins(): array
110
    {
111
        return [
112
            new ProductBundleOrderHydratePlugin(),
113
            new DiscountOrderHydratePlugin(),
114
            new ShipmentOrderHydratePlugin(),
115
            new SalesPaymentOrderExpanderPlugin(),
116
            new CustomerOrderHydratePlugin(),
117
            new ProductBundleIdHydratorPlugin(),
118
            new ProductOptionGroupIdHydratorPlugin(),
119
            new CommentThreadOrderExpanderPlugin(),
120
            new ProductBundleOptionOrderExpanderPlugin(),
121
            new RemunerationTotalOrderExpanderPlugin(),
122
            new OmsStatesOrderExpanderPlugin(),
123
            new IsCancellableOrderExpanderPlugin(),
124
            new CurrencyOrderExpanderPlugin(),
125
            new SalesOrderAmendmentOrderExpanderPlugin(),
126
            new IsAmendableOrderExpanderPlugin(),
127
        ];
128
    }
129
130
    /**
131
     * @return array<\Spryker\Zed\SalesExtension\Dependency\Plugin\OrderItemExpanderPreSavePluginInterface>
132
     */
133
    protected function getOrderItemExpanderPreSavePlugins(): array
134
    {
135
        return [
136
            new QuantitySalesUnitOrderItemExpanderPreSavePlugin(),
137
            new ProductPackagingUnitOrderItemExpanderPreSavePlugin(),
138
            new AmountSalesUnitOrderItemExpanderPreSavePlugin(),
139
            new IsQuantitySplittableOrderItemExpanderPreSavePlugin(),
140
            new OrderItemReferenceExpanderPreSavePlugin(),
141
        ];
142
    }
143
144
    /**
145
     * @return array<\Spryker\Zed\SalesExtension\Dependency\Plugin\ItemTransformerStrategyPluginInterface>
146
     */
147
    public function getItemTransformerStrategyPlugins(): array
148
    {
149
        return [
150
            new PackagingUnitSplittableItemTransformerStrategyPlugin(), #ProductPackagingUnit
151
            new NonSplittableItemTransformerStrategyPlugin(),
152
        ];
153
    }
154
155
    /**
156
     * @return array<\Spryker\Zed\SalesExtension\Dependency\Plugin\SalesTablePluginInterface>
157
     */
158
    protected function getSalesTablePlugins(): array
159
    {
160
        return [
161
            new ReclamationSalesTablePlugin(),
162
        ];
163
    }
164
165
    /**
166
     * @return array<\Spryker\Zed\SalesExtension\Dependency\Plugin\OrderPostSavePluginInterface>
167
     */
168
    protected function getOrderPostSavePlugins(): array
169
    {
170
        return [
171
            new CommentThreadAttachedCommentOrderPostSavePlugin(),
172
            new OrderCustomReferenceOrderPostSavePlugin(),
173
            new SaveCompanyBusinessUnitUuidOrderPostSavePlugin(),
174
            new SaveCompanyUuidOrderPostSavePlugin(),
175
            new QuoteRequestVersionReferenceOrderPostSavePlugin(),
176
        ];
177
    }
178
179
    /**
180
     * @return list<\Spryker\Zed\SalesExtension\Dependency\Plugin\OrderPostSavePluginInterface>
0 ignored issues
show
Bug introduced by
The type Pyz\Zed\Sales\list was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
181
     */
182
    protected function getOrderPostSavePluginsForOrderAmendment(): array
183
    {
184
        return [
185
            new SaveOrderCommentThreadOrderPostSavePlugin(),
186
            new UpdateOrderCustomReferenceOrderPostSavePlugin(),
187
            new SaveCompanyBusinessUnitUuidOrderPostSavePlugin(),
188
            new SaveCompanyUuidOrderPostSavePlugin(),
189
            new CreateSalesOrderAmendmentOrderPostSavePlugin(),
190
        ];
191
    }
192
193
    /**
194
     * @return array<\Spryker\Zed\SalesExtension\Dependency\Plugin\ItemPreTransformerPluginInterface>
195
     */
196
    protected function getItemPreTransformerPlugins(): array
197
    {
198
        return [
199
            new ConfiguredBundleItemPreTransformerPlugin(),
200
        ];
201
    }
202
203
    /**
204
     * @return array<\Spryker\Zed\SalesExtension\Dependency\Plugin\UniqueOrderItemsExpanderPluginInterface>
205
     */
206
    protected function getUniqueOrderItemsExpanderPlugins(): array
207
    {
208
        return [
209
            new UniqueOrderBundleItemsExpanderPlugin(),
210
        ];
211
    }
212
213
    /**
214
     * @return array<\Spryker\Zed\SalesExtension\Dependency\Plugin\OrderItemExpanderPluginInterface>
215
     */
216
    protected function getOrderItemExpanderPlugins(): array
217
    {
218
        return [
219
            new StateHistoryOrderItemExpanderPlugin(),
220
            new ProductIdOrderItemExpanderPlugin(),
221
            new ProductOptionsOrderItemExpanderPlugin(),
222
            new MetadataOrderItemExpanderPlugin(),
223
            new UpdateOrderItemIsReturnableByItemStatePlugin(),
224
            new UpdateOrderItemIsReturnableByGlobalReturnableNumberOfDaysPlugin(),
225
            new CurrencyIsoCodeOrderItemExpanderPlugin(),
226
            new ConfiguredBundleOrderItemExpanderPlugin(),
227
            new ProductBundleOrderItemExpanderPlugin(),
228
            new ProductBundleOptionItemExpanderPlugin(),
229
            new QuantitySalesUnitOrderItemExpanderPlugin(),
230
            new AmountLeadProductOrderItemExpanderPlugin(),
231
            new AmountSalesUnitOrderItemExpanderPlugin(),
232
            new ItemStateOrderItemExpanderPlugin(),
233
            new ProductConfigurationOrderItemExpanderPlugin(),
234
        ];
235
    }
236
237
    /**
238
     * @return array<\Spryker\Zed\SalesExtension\Dependency\Plugin\SearchOrderExpanderPluginInterface>
239
     */
240
    protected function getSearchOrderExpanderPlugins(): array
241
    {
242
        return [
243
            new ItemMetadataSearchOrderExpanderPlugin(),
244
            new OrderAggregatedItemStateSearchOrderExpanderPlugin(),
245
            new IsCancellableSearchOrderExpanderPlugin(),
246
            new IsAmendableOrderSearchOrderExpanderPlugin(),
247
        ];
248
    }
249
250
    /**
251
     * @return array<\Spryker\Zed\SalesExtension\Dependency\Plugin\SearchOrderQueryExpanderPluginInterface>
252
     */
253
    protected function getOrderSearchQueryExpanderPlugins(): array
254
    {
255
        return [
256
            new CompanyBusinessUnitFilterOrderSearchQueryExpanderPlugin(),
257
            new CompanyFilterOrderSearchQueryExpanderPlugin(),
258
            new CompanyBusinessUnitCustomerFilterOrderSearchQueryExpanderPlugin(),
259
            new CompanyBusinessUnitCustomerSortingOrderSearchQueryExpanderPlugin(),
260
            new CompanyCustomerFilterOrderSearchQueryExpanderPlugin(),
261
            new CompanyCustomerSortingOrderSearchQueryExpanderPlugin(),
262
        ];
263
    }
264
265
    /**
266
     * @return array<\Spryker\Zed\SalesExtension\Dependency\Plugin\CustomerOrderAccessCheckPluginInterface>
267
     */
268
    protected function getCustomerOrderAccessCheckPlugins(): array
269
    {
270
        return [
271
            new CompanyBusinessUnitCustomerOrderAccessCheckPlugin(),
272
            new CompanyCustomerOrderAccessCheckPlugin(),
273
        ];
274
    }
275
276
    /**
277
     * @return array<\Spryker\Zed\SalesExtension\Dependency\Plugin\OrderItemsPostSavePluginInterface>
278
     */
279
    protected function getOrderItemsPostSavePlugins(): array
280
    {
281
        return [
282
            new ConfiguredBundlesOrderItemsPostSavePlugin(),
283
            new ItemMetadataOrderItemsPostSavePlugin(),
284
            new ProductConfigurationOrderItemsPostSavePlugin(),
285
            new ProductOptionOrderItemsPostSavePlugin(),
286
        ];
287
    }
288
289
    /**
290
     * @return list<\Spryker\Zed\SalesExtension\Dependency\Plugin\SalesExpensePreDeletePluginInterface>
291
     */
292
    protected function getSalesExpensePreDeletePlugins(): array
293
    {
294
        return [
0 ignored issues
show
Bug Best Practice introduced by
The expression return array(new Spryker...pensePreDeletePlugin()) returns the type array<integer,Spryker\Ze...ExpensePreDeletePlugin> which is incompatible with the documented return type Pyz\Zed\Sales\list.
Loading history...
295
            new SalesDiscountSalesExpensePreDeletePlugin(),
296
        ];
297
    }
298
299
    /**
300
     * @return list<\Spryker\Zed\SalesExtension\Dependency\Plugin\SalesOrderItemCollectionPreDeletePluginInterface>
301
     */
302
    protected function getSalesOrderItemCollectionPreDeletePlugins(): array
303
    {
304
        return [
305
            new DiscountSalesOrderItemCollectionPreDeletePlugin(),
306
            new ItemMetadataSalesOrderItemCollectionPreDeletePlugin(),
307
            new OmsItemHistorySalesOrderItemCollectionPreDeletePlugin(),
308
            new ProductOptionSalesOrderItemCollectionPreDeletePlugin(),
309
            new SalesConfigurableBundleSalesOrderItemCollectionPreDeletePlugin(),
310
            new SalesProductConfigurationSalesOrderItemCollectionPreDeletePlugin(),
311
            new NopaymentSalesOrderItemCollectionPreDeletePlugin(),
312
            new SalesReclamationSalesOrderItemCollectionPreDeletePlugin(),
313
        ];
314
    }
315
316
    /**
317
     * @return list<\Spryker\Zed\SalesExtension\Dependency\Plugin\SalesOrderItemCollectionPostUpdatePluginInterface>
318
     */
319
    protected function getOrderItemCollectionPostUpdatePlugins(): array
320
    {
321
        return [
322
            new SalesConfiguredBundlesSalesOrderItemCollectionPostUpdatePlugin(),
323
            new SalesProductConfigurationSalesOrderItemCollectionPostUpdatePlugin(),
324
            new ItemMetadataSalesOrderItemCollectionPostUpdatePlugin(),
325
            new ProductOptionSalesOrderItemCollectionPostUpdatePlugin(),
326
        ];
327
    }
328
329
    /**
330
     * @return list<\Spryker\Zed\SalesExtension\Dependency\Plugin\OrderItemInitialStateProviderPluginInterface>
331
     */
332
    protected function getOrderItemInitialStateProviderPlugins(): array
333
    {
334
        return [
0 ignored issues
show
Bug Best Practice introduced by
The expression return array(new Spryker...lStateProviderPlugin()) returns the type array<integer,Spryker\Ze...ialStateProviderPlugin> which is incompatible with the documented return type Pyz\Zed\Sales\list.
Loading history...
335
            new DefaultOrderItemInitialStateProviderPlugin(),
336
        ];
337
    }
338
339
    /**
340
     * @return list<\Spryker\Zed\SalesExtension\Dependency\Plugin\OrderItemInitialStateProviderPluginInterface>
341
     */
342
    protected function getOrderItemInitialStateProviderPluginsForOrderAmendment(): array
343
    {
344
        return [
0 ignored issues
show
Bug Best Practice introduced by
The expression return array(new Spryker...lStateProviderPlugin()) returns the type array<integer,Spryker\Ze...ialStateProviderPlugin> which is incompatible with the documented return type Pyz\Zed\Sales\list.
Loading history...
345
            new OrderAmendmentDefaultOrderItemInitialStateProviderPlugin(),
346
        ];
347
    }
348
}
349