Skip to content

Commit c0856d9

Browse files
authored
Merge pull request #71 from techdivision/PAC-950
2 parents ecba388 + 0ff05a0 commit c0856d9

File tree

5 files changed

+15
-7
lines changed

5 files changed

+15
-7
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# Version 27.2.0
2+
3+
## Features
4+
5+
### PHP 8.4 Compatibility
6+
7+
* Add PHP 8.4 support
8+
19
# Version 27.1.0
210

311
## Bugfixes

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"license": "MIT",
55
"require": {
66
"php": "^8.1",
7-
"techdivision/import-ee": "^17.0.0",
8-
"techdivision/import-product": "^26.0.0"
7+
"techdivision/import-ee": "^17.0",
8+
"techdivision/import-product": "^26.2"
99
},
1010
"require-dev": {
1111
"doctrine/dbal": "^4.0.4",

src/Callbacks/RmaCallback.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function __construct(RmaKeysInterface $rmaKeys)
5555
*
5656
* @return int The converted value
5757
*/
58-
public function handle(AttributeCodeAndValueAwareObserverInterface $observer = null) : int
58+
public function handle(?AttributeCodeAndValueAwareObserverInterface $observer = null) : int
5959
{
6060

6161
// set the observer

src/Services/EeProductBunchProcessor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class EeProductBunchProcessor extends ProductBunchProcessor implements EeProduct
8383
* @param \TechDivision\Import\Product\Assemblers\ProductAttributeAssemblerInterface $productAttributeAssembler The assembler to load the product attributes with
8484
* @param \TechDivision\Import\Loaders\LoaderInterface $rawEntityLoader The raw entity loader instance
8585
* @param \TechDivision\Import\Repositories\UrlRewriteRepositoryInterface $urlRewriteRepository The URL rewrite repository to use
86-
* @param \TechDivision\Import\Dbal\Actions\ActionInterface $stockItemStatusAction The stock item status action to use
86+
* @param \TechDivision\Import\Dbal\Actions\ActionInterface|null $stockItemStatusAction The stock item status action to use
8787
*/
8888
public function __construct(
8989
ConnectionInterface $connection,
@@ -113,7 +113,7 @@ public function __construct(
113113
ProductAttributeAssemblerInterface $productAttributeAssembler,
114114
LoaderInterface $rawEntityLoader,
115115
UrlRewriteRepositoryInterface $urlRewriteRepository,
116-
ActionInterface $stockItemStatusAction = null
116+
?ActionInterface $stockItemStatusAction = null
117117
) {
118118

119119
// set the sequence product action

src/Utils/RmaKeys.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class RmaKeys implements RmaKeysInterface
4040
/**
4141
* Query's whether or not the passed key is valid or not.
4242
*
43-
* @param string $key The key to query for
43+
* @param string|null $key The key to query for
4444
*
4545
* @return bool TRUE if the passed key is valid, else FALSE
4646
*/
@@ -52,7 +52,7 @@ public function isValid(?string $key) : bool
5252
/**
5353
* Return's the value for the passed key.
5454
*
55-
* @param string $key The key to return the value for
55+
* @param string|null $key The key to return the value for
5656
*
5757
* @return int The value
5858
*/

0 commit comments

Comments
 (0)