From e2726a515e32c539053a5f53c5df630ae886ee89 Mon Sep 17 00:00:00 2001 From: Marc Jauvin Date: Mon, 13 May 2024 17:25:26 -0400 Subject: [PATCH] drops the s in Morph since it is not used anywhere in the actual classes --- src/Database/Relations/BelongsTo.php | 2 +- src/Database/Relations/BelongsToMany.php | 2 +- .../Concerns/{BelongsOrMorphsTo.php => BelongsOrMorphTo.php} | 2 +- .../{BelongsOrMorphsToMany.php => BelongsOrMorphToMany.php} | 2 +- src/Database/Relations/MorphTo.php | 2 +- src/Database/Relations/MorphToMany.php | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) rename src/Database/Relations/Concerns/{BelongsOrMorphsTo.php => BelongsOrMorphTo.php} (99%) rename src/Database/Relations/Concerns/{BelongsOrMorphsToMany.php => BelongsOrMorphToMany.php} (99%) diff --git a/src/Database/Relations/BelongsTo.php b/src/Database/Relations/BelongsTo.php index 7e3e4bb5c..e1773dc75 100644 --- a/src/Database/Relations/BelongsTo.php +++ b/src/Database/Relations/BelongsTo.php @@ -10,7 +10,7 @@ */ class BelongsTo extends BelongsToBase { - use Concerns\BelongsOrMorphsTo; + use Concerns\BelongsOrMorphTo; use Concerns\DeferOneOrMany; use Concerns\DefinedConstraints; diff --git a/src/Database/Relations/BelongsToMany.php b/src/Database/Relations/BelongsToMany.php index ec140847c..7c4d010df 100644 --- a/src/Database/Relations/BelongsToMany.php +++ b/src/Database/Relations/BelongsToMany.php @@ -4,7 +4,7 @@ class BelongsToMany extends BelongsToManyBase { - use Concerns\BelongsOrMorphsToMany; + use Concerns\BelongsOrMorphToMany; use Concerns\DeferOneOrMany; use Concerns\DefinedConstraints; } diff --git a/src/Database/Relations/Concerns/BelongsOrMorphsTo.php b/src/Database/Relations/Concerns/BelongsOrMorphTo.php similarity index 99% rename from src/Database/Relations/Concerns/BelongsOrMorphsTo.php rename to src/Database/Relations/Concerns/BelongsOrMorphTo.php index 4f79b2ca1..bb25a6460 100644 --- a/src/Database/Relations/Concerns/BelongsOrMorphsTo.php +++ b/src/Database/Relations/Concerns/BelongsOrMorphTo.php @@ -1,6 +1,6 @@