File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed
Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 1+ # Version 26.1.0
2+
3+ ## Features
4+
5+ ### PHP 8.4 Compatibility
6+
7+ * Add PHP 8.4 support
8+
19# Version 26.0.2
210
311## Bugfixes
Original file line number Diff line number Diff line change 44 "license" : " MIT" ,
55 "require" : {
66 "php" : " ^8.1" ,
7- "techdivision/import-product" : " ^26.0.0 "
7+ "techdivision/import-product" : " ^26.2 "
88 },
99 "require-dev" : {
1010 "doctrine/dbal" : " ^4.0.4" ,
4040 ]
4141 }
4242 }
43- }
43+ }
Original file line number Diff line number Diff line change @@ -61,11 +61,11 @@ class CleanUpLinkObserver extends AbstractProductImportObserver implements Obser
6161 *
6262 * @param \TechDivision\Import\Product\Link\Services\ProductLinkProcessorInterface $productLinkProcessor The
6363 * product link processor instance
64- * @param StateDetectorInterface|null $stateDetector The state detector instance to use
64+ * @param StateDetectorInterface|null $stateDetector The state detector instance to use
6565 */
6666 public function __construct (
6767 ProductLinkProcessorInterface $ productLinkProcessor ,
68- StateDetectorInterface $ stateDetector = null
68+ ? StateDetectorInterface $ stateDetector = null
6969 ) {
7070
7171 // pass the state detector to the parent constructor
@@ -123,7 +123,7 @@ protected function process()
123123 // prepare the links for the found link types and clean-up
124124 foreach ($ this ->linkTypes as $ linkTypeCode => $ columns ) {
125125 // shift the column with the header information from the stack
126- list ( $ columnNameChildSkus , $ callbackChildSkus) = array_shift ($ columns );
126+ [ $ columnNameChildSkus , $ callbackChildSkus] = array_shift ($ columns );
127127
128128 // query whether or not, we've up sell, cross sell or relation products
129129 $ links = $ this ->getValue ($ columnNameChildSkus , [], $ callbackChildSkus );
You can’t perform that action at this time.
0 commit comments