Skip to content

Commit

Permalink
Merge pull request #175 from DrewKolstad/readme-correction
Browse files Browse the repository at this point in the history
Corrected spelling/grammar issues in README.md
  • Loading branch information
topclaudy authored Jun 14, 2024
2 parents fc381a3 + d8a1927 commit 1951dc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 1951dc8

Please sign in to comment.