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: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Import Serializer

## Version 2.1.0

### PHP 8.4 Compatibility

* Add PHP 8.4 support

## Version 2.0.0

### PHP 8.1 Compatibility
Expand All @@ -16,4 +22,4 @@

### Features

* PAC-541: Update composer with php Version ">=^7.3"
* PAC-541: Update composer with php Version ">=^7.3"
2 changes: 1 addition & 1 deletion src/AdditionalAttributeSerializerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ interface AdditionalAttributeSerializerInterface extends SerializerInterface
*
* @return array The array with the denormalized attribute values
*/
public function denormalize(string $value = null, bool $unpack = true) : array;
public function denormalize(?string $value = null, bool $unpack = true) : array;

/**
* Normalizes the category path in a standard representation.
Expand Down
4 changes: 2 additions & 2 deletions src/SerializerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function explode($value = null, $delimiter = null);
*
* @return string|null The compatected value
*/
public function implode(array $value = null, $delimiter = null);
public function implode(?array $value = null, $delimiter = null);

/**
* Serializes the elements of the passed array.
Expand All @@ -56,7 +56,7 @@ public function implode(array $value = null, $delimiter = null);
*
* @return string The serialized array
*/
public function serialize(array $unserialized = null, $delimiter = null);
public function serialize(?array $unserialized = null, $delimiter = null);

/**
* Unserializes the elements of the passed string.
Expand Down
Loading