From 38b71cf6097c17d0a5f090f102a51e4f2ff4e144 Mon Sep 17 00:00:00 2001 From: lee-to Date: Sat, 1 Feb 2025 07:50:02 +0000 Subject: [PATCH] Fix styling --- src/Fields/Relationships/ModelRelationField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fields/Relationships/ModelRelationField.php b/src/Fields/Relationships/ModelRelationField.php index 8202937..25c12ce 100644 --- a/src/Fields/Relationships/ModelRelationField.php +++ b/src/Fields/Relationships/ModelRelationField.php @@ -91,7 +91,7 @@ public function __construct( } // required to create field entities and load assets - if ($this instanceof HasFieldsContract && !$this->isExcludeInstancing() && ! $this->isMorph()) { + if ($this instanceof HasFieldsContract && ! $this->isExcludeInstancing() && ! $this->isMorph()) { $this->excludeInstancing(); $this->getResource()?->getFormFields(); }