From 43dbae84d58770bdbeabf39a1a0ad43a504c02cc Mon Sep 17 00:00:00 2001 From: alecritson Date: Tue, 17 Sep 2024 08:33:27 +0000 Subject: [PATCH] chore: fix code style --- packages/core/src/Base/Traits/HasModelExtending.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/core/src/Base/Traits/HasModelExtending.php b/packages/core/src/Base/Traits/HasModelExtending.php index 6ecfffe38f..a8e0f2a689 100644 --- a/packages/core/src/Base/Traits/HasModelExtending.php +++ b/packages/core/src/Base/Traits/HasModelExtending.php @@ -96,10 +96,11 @@ public static function modelClass(): string /** * Returns the model alias registered in the model relation morph map. */ - public static function morphName():string{ + public static function morphName(): string + { return (new (static::modelClass()))->getMorphClass(); } - + public function getMorphClass(): string { $morphMap = Relation::morphMap();