Skip to content

Commit a5c7b1f

Browse files
authored
Merge pull request #36 from techdivision/PAC-950
2 parents 119a32e + 30f361e commit a5c7b1f

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
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

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
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",
@@ -40,4 +40,4 @@
4040
]
4141
}
4242
}
43-
}
43+
}

src/Observers/CleanUpLinkObserver.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)