diff --git a/README.md b/README.md
index 83478678f9..9f7fe84f33 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
[![Gradle Plugin Portal](https://img.shields.io/maven-metadata/v/https/plugins.gradle.org/m2/io/realm/kotlin/io.realm.kotlin.gradle.plugin/maven-metadata.xml.svg?colorB=ff6b00&label=Gradle%20Plugin%20Portal)](https://plugins.gradle.org/plugin/io.realm.kotlin)
diff --git a/packages/library-base/src/commonMain/kotlin/io/realm/kotlin/internal/RealmObjectUtil.kt b/packages/library-base/src/commonMain/kotlin/io/realm/kotlin/internal/RealmObjectUtil.kt
index 4e86a39423..e4b4496ac0 100644
--- a/packages/library-base/src/commonMain/kotlin/io/realm/kotlin/internal/RealmObjectUtil.kt
+++ b/packages/library-base/src/commonMain/kotlin/io/realm/kotlin/internal/RealmObjectUtil.kt
@@ -95,13 +95,12 @@ internal fun RealmObjectPointer.toRealmObject(
* Instantiates a [BaseRealmObject] from its Core [RealmObjectReference] representation. For internal use only.
*/
internal fun RealmObjectReference.toRealmObject(): T =
- mediator.createInstanceOf(type)
- .manage(
- realm = owner,
- mediator = mediator,
- type = type,
- objectPointer = objectPointer,
- )
+ mediator.createInstanceOf(type).manage(
+ realm = owner,
+ mediator = mediator,
+ type = type,
+ objectPointer = objectPointer,
+ )
/**
* Returns the [RealmObjectCompanion] associated with a given [BaseRealmObject]'s [KClass].