This commit is contained in:
Sebastian Bergmann 2023-09-08 06:46:58 +02:00
parent 66aee9ca60
commit 32ff03d078
No known key found for this signature in database
GPG Key ID: 4AA394086372C20A
2 changed files with 9 additions and 0 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.0.1] - 2023-09-08
### Fixed
* [#49](https://github.com/sebastianbergmann/exporter/issues/49): `Exporter::toArray()` changes `SplObjectStorage` index
## [5.0.0] - 2023-02-03
### Changed
@ -76,6 +82,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.0.1]: https://github.com/sebastianbergmann/exporter/compare/5.0.0...5.0.1
[5.0.0]: https://github.com/sebastianbergmann/exporter/compare/4.0.5...5.0.0
[4.0.5]: https://github.com/sebastianbergmann/exporter/compare/4.0.4...4.0.5
[4.0.4]: https://github.com/sebastianbergmann/exporter/compare/4.0.3...4.0.4

View File

@ -188,6 +188,8 @@ final class Exporter
'inf' => $value->getInfo(),
];
}
$value->rewind();
}
return $array;