File tree Expand file tree Collapse file tree 4 files changed +13
-5
lines changed Expand file tree Collapse file tree 4 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 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
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 @@ -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 );
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments