Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Version 27.2.0

## Features

### PHP 8.4 Compatibility

* Add PHP 8.4 support

# Version 27.1.0

## Bugfixes
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"license": "MIT",
"require": {
"php": "^8.1",
"techdivision/import-ee": "^17.0.0",
"techdivision/import-product": "^26.0.0"
"techdivision/import-ee": "^17.0",
"techdivision/import-product": "^26.2"
},
"require-dev": {
"doctrine/dbal": "^4.0.4",
Expand Down
2 changes: 1 addition & 1 deletion src/Callbacks/RmaCallback.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function __construct(RmaKeysInterface $rmaKeys)
*
* @return int The converted value
*/
public function handle(AttributeCodeAndValueAwareObserverInterface $observer = null) : int
public function handle(?AttributeCodeAndValueAwareObserverInterface $observer = null) : int
{

// set the observer
Expand Down
4 changes: 2 additions & 2 deletions src/Services/EeProductBunchProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class EeProductBunchProcessor extends ProductBunchProcessor implements EeProduct
* @param \TechDivision\Import\Product\Assemblers\ProductAttributeAssemblerInterface $productAttributeAssembler The assembler to load the product attributes with
* @param \TechDivision\Import\Loaders\LoaderInterface $rawEntityLoader The raw entity loader instance
* @param \TechDivision\Import\Repositories\UrlRewriteRepositoryInterface $urlRewriteRepository The URL rewrite repository to use
* @param \TechDivision\Import\Dbal\Actions\ActionInterface $stockItemStatusAction The stock item status action to use
* @param \TechDivision\Import\Dbal\Actions\ActionInterface|null $stockItemStatusAction The stock item status action to use
*/
public function __construct(
ConnectionInterface $connection,
Expand Down Expand Up @@ -113,7 +113,7 @@ public function __construct(
ProductAttributeAssemblerInterface $productAttributeAssembler,
LoaderInterface $rawEntityLoader,
UrlRewriteRepositoryInterface $urlRewriteRepository,
ActionInterface $stockItemStatusAction = null
?ActionInterface $stockItemStatusAction = null
) {

// set the sequence product action
Expand Down
4 changes: 2 additions & 2 deletions src/Utils/RmaKeys.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class RmaKeys implements RmaKeysInterface
/**
* Query's whether or not the passed key is valid or not.
*
* @param string $key The key to query for
* @param string|null $key The key to query for
*
* @return bool TRUE if the passed key is valid, else FALSE
*/
Expand All @@ -52,7 +52,7 @@ public function isValid(?string $key) : bool
/**
* Return's the value for the passed key.
*
* @param string $key The key to return the value for
* @param string|null $key The key to return the value for
*
* @return int The value
*/
Expand Down
Loading