Do not use implicitly nullable parameters and prepare release

This commit is contained in:
Sebastian Bergmann 2024-03-02 08:17:12 +01:00
parent 935b7ee9d5
commit 955288482d
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.
## [5.1.2] - 2024-03-02
### Changed
* Do not use implicitly nullable parameters
## [5.1.1] - 2023-09-24
### Changed
@ -94,6 +100,7 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
* Remove HHVM-specific code that is no longer needed
[5.1.2]: https://github.com/sebastianbergmann/exporter/compare/5.1.1...5.1.2
[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
[5.0.1]: https://github.com/sebastianbergmann/exporter/compare/5.0.0...5.0.1

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;