diff --git a/CHANGELOG.md b/CHANGELOG.md index 16e0c574c3..c9794d31bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## v4.2.5 + +### Bug fixes + +* [57fe3d1](https://github.com/api-platform/core/commit/57fe3d127d477911c4f678ff392bcfd91ef79533) fix(state): class existence check for ObjectMapperAwareInterface + ## v4.2.4 ### Bug fixes @@ -342,6 +348,13 @@ TypeInfo: * [cff61eab8](https://github.com/api-platform/core/commit/cff61eab8643f8ed08d59c0684e77740d0d81b04) fix(metadata): append php file resource extractor (#7193) * [f3d4afe03](https://github.com/api-platform/core/commit/f3d4afe032385f3b665131a365e42706930f0730) fix(symfony): validator type-info +## v4.1.27 + +### Bug fixes + +* [3df65aa86](https://github.com/api-platform/core/commit/3df65aa86e9e4ececd5e64104b8815b3f8320d8e) fix(symfony): allow disabling PHPStan PhpDocParser (#7507) +* [7c76fb8ea](https://github.com/api-platform/core/commit/7c76fb8ea0dac24ec3f8a1495a9416facdad23f1) fix(jsonld): read identifier with itemUriTemplate (#7517) + ## v4.1.26 ### Bug fixes diff --git a/src/State/ObjectMapper/ObjectMapper.php b/src/State/ObjectMapper/ObjectMapper.php index e988280645..77f1a939e0 100644 --- a/src/State/ObjectMapper/ObjectMapper.php +++ b/src/State/ObjectMapper/ObjectMapper.php @@ -17,7 +17,7 @@ use Symfony\Component\ObjectMapper\ObjectMapperAwareInterface; use Symfony\Component\ObjectMapper\ObjectMapperInterface; -if (class_exists(ObjectMapperAwareInterface::class)) { +if (false === class_exists(ObjectMapperAwareInterface::class)) { final class ObjectMapper implements ObjectMapperInterface { public function __construct(private ObjectMapperInterface $decorated)