diff --git a/CHANGELOG.md b/CHANGELOG.md index 2263ac29d..a8c2cefc4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file. ## [unreleased] * Add support for Laravel 11 by @GromNaN in [#2735](https://github.com/mongodb/laravel-mongodb/pull/2735) +* Implement Model::createOrFirst() using findOneAndUpdate operation by @GromNaN in [#2742](https://github.com/mongodb/laravel-mongodb/pull/2742) ## [4.1.3] - 2024-03-05 diff --git a/src/Internal/FindAndModifyCommandSubscriber.php b/src/Internal/FindAndModifyCommandSubscriber.php index 51fcb5ba5..55b13436b 100644 --- a/src/Internal/FindAndModifyCommandSubscriber.php +++ b/src/Internal/FindAndModifyCommandSubscriber.php @@ -15,7 +15,7 @@ * * @internal */ -class FindAndModifyCommandSubscriber implements CommandSubscriber +final class FindAndModifyCommandSubscriber implements CommandSubscriber { public bool $created;