Do not use implicitly nullable parameters and prepare release

This commit is contained in:
Sebastian Bergmann 2024-03-02 08:28:20 +01:00
parent d0c0a93fc7
commit f291e5a317
No known key found for this signature in database
GPG Key ID: 4AA394086372C20A
2 changed files with 8 additions and 1 deletions

View File

@ -2,6 +2,12 @@
All notable changes are documented in this file using the [Keep a CHANGELOG](https://keepachangelog.com/) principles.
## [6.0.1] - 2024-03-02
### Changed
* Do not use implicitly nullable parameters
## [6.0.0] - 2024-02-02
### Removed
@ -100,6 +106,7 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
* Remove HHVM-specific code that is no longer needed
[6.0.1]: https://github.com/sebastianbergmann/exporter/compare/6.0.0...6.0.1
[6.0.0]: https://github.com/sebastianbergmann/exporter/compare/5.1...6.0.0
[5.1.1]: https://github.com/sebastianbergmann/exporter/compare/5.1.0...5.1.1
[5.1.0]: https://github.com/sebastianbergmann/exporter/compare/5.0.1...5.1.0

View File

@ -54,7 +54,7 @@ final class Exporter
return $this->recursiveExport($value, $indentation);
}
public function shortenedRecursiveExport(array &$data, Context $context = null): string
public function shortenedRecursiveExport(array &$data, ?Context $context = null): string
{
$result = [];
$exporter = new self;