From 7db26d369b2272fec7a1930935511c41190a4e57 Mon Sep 17 00:00:00 2001 From: Michael Aerni Date: Tue, 26 Dec 2023 10:50:56 -0500 Subject: [PATCH] Use cached property --- src/Fields/Properties/WithId.php | 2 +- src/Fields/Properties/WithKey.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Fields/Properties/WithId.php b/src/Fields/Properties/WithId.php index 652300ad..e5805258 100644 --- a/src/Fields/Properties/WithId.php +++ b/src/Fields/Properties/WithId.php @@ -6,6 +6,6 @@ trait WithId { protected function idProperty(): string { - return "{$this->id}-field-{$this->handle()}"; + return "{$this->id}-field-{$this->handle}"; } } diff --git a/src/Fields/Properties/WithKey.php b/src/Fields/Properties/WithKey.php index 0dd9c8c4..fd220890 100644 --- a/src/Fields/Properties/WithKey.php +++ b/src/Fields/Properties/WithKey.php @@ -6,6 +6,6 @@ trait WithKey { protected function keyProperty(): string { - return "fields.{$this->handle()}.value"; + return "fields.{$this->handle}.value"; } }