Skip to content

Commit d1ff184

Browse files
authored
Merge pull request #42 from techdivision/PAC-950
2 parents c6cd221 + 8386445 commit d1ff184

File tree

4 files changed

+13
-5
lines changed

4 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+
# 26.1.0
2+
3+
## Features
4+
5+
### PHP 8.4 Compatibility
6+
7+
* Add PHP 8.4 support
8+
19
# 26.0.0
210

311
## Features

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/ProductUrlRewriteObserver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class ProductUrlRewriteObserver extends AbstractProductImportObserver
7070
*/
7171
public function __construct(
7272
ProductUrlRewriteProcessorInterface $productUrlRewriteProcessor,
73-
StateDetectorInterface $stateDetector = null
73+
?StateDetectorInterface $stateDetector = null
7474
) {
7575
$this->productUrlRewriteProcessor = $productUrlRewriteProcessor;
7676
parent::__construct($stateDetector);

src/Observers/UrlRewriteObserver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,11 @@ class UrlRewriteObserver extends AbstractProductImportObserver implements Observ
112112
* Initialize the observer with the passed product URL rewrite processor instance.
113113
*
114114
* @param \TechDivision\Import\Product\UrlRewrite\Services\ProductUrlRewriteProcessorInterface $productUrlRewriteProcessor The product URL rewrite processor instance
115-
* @param \TechDivision\Import\Observers\StateDetectorInterface $stateDetector The state detector instance
115+
* @param \TechDivision\Import\Observers\StateDetectorInterface|null $stateDetector The state detector instance
116116
*/
117117
public function __construct(
118118
ProductUrlRewriteProcessorInterface $productUrlRewriteProcessor,
119-
StateDetectorInterface $stateDetector = null
119+
?StateDetectorInterface $stateDetector = null
120120
) {
121121
$this->productUrlRewriteProcessor = $productUrlRewriteProcessor;
122122

0 commit comments

Comments
 (0)