From c438fea8be37dd8139d550df9e64ab480087a790 Mon Sep 17 00:00:00 2001 From: Jonas Staudenmeir Date: Sun, 21 Jul 2024 14:40:53 +0200 Subject: [PATCH] Formatting --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9090e8a..df5553c 100644 --- a/README.md +++ b/README.md @@ -157,7 +157,7 @@ class Role extends Model public function users(): \Staudenmeir\EloquentJsonRelations\Relations\HasManyJson { - return $this->hasManyJson(User::class, 'options->role_ids'); + return $this->hasManyJson(User::class, 'options->role_ids'); } } ``` @@ -200,7 +200,7 @@ class Role extends Model public function users(): \Staudenmeir\EloquentJsonRelations\Relations\HasManyJson { - return $this->hasManyJson(User::class, 'options->roles[]->role_id'); + return $this->hasManyJson(User::class, 'options->roles[]->role_id'); } } ```