From d8a192738fea6a8a51b40d94a29bed555bdba718 Mon Sep 17 00:00:00 2001 From: Andrew Kolstad <4095117+DrewKolstad@users.noreply.github.com> Date: Fri, 14 Jun 2024 09:09:37 -0400 Subject: [PATCH] Corrected spelling/grammar issues in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4f1ff2e..f902e7a 100755 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Simply make your model class derive from the `Awobaz\Compoships\Database\Eloquen ### Using the `Awobaz\Compoships\Compoships` trait -If for some reasons you can't derive your models from `Awobaz\Compoships\Database\Eloquent\Model`, you may take advantage of the `Awobaz\Compoships\Compoships` trait. Simply use the trait in your models. +If for some reason you can't derive your models from `Awobaz\Compoships\Database\Eloquent\Model`, you may take advantage of the `Awobaz\Compoships\Compoships` trait. Simply use the trait in your models. **Note:** To define a multi-columns relationship from a model *A* to another model *B*, **both models must either extend `Awobaz\Compoships\Database\Eloquent\Model` or use the `Awobaz\Compoships\Compoships` trait** @@ -90,7 +90,7 @@ class B extends Model ### Factories -Chances are that you may need factories for your Compoships models. If so, you will provably need to use +Chances are that you may need factories for your Compoships models. If so, you will probably need to use Factory methods to create relationship models. For example, by using the ->has() method. Just use the ``Awobaz\Compoships\Database\Eloquent\Factories\ComposhipsFactory`` trait in your factory classes to be able to use relationships correctly.