Skip to content

Commit

Permalink
text correction
Browse files Browse the repository at this point in the history
changed from "access the User the owns the phone" to "access the User that owns the phone"
  • Loading branch information
nunomira committed Jul 20, 2015
1 parent 097714e commit d4fac60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eloquent-relationships.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Additionally, Eloquent assumes that the foreign key should have a value matching

#### Defining The Inverse Of The Relation

So, we can access the `Phone` model from our `User`. Now, let's define a relationship on the `Phone` model that will let us access the `User` the owns the phone. We can define the inverse of a `hasOne` relationship using the `belongsTo` method:
So, we can access the `Phone` model from our `User`. Now, let's define a relationship on the `Phone` model that will let us access the `User` that owns the phone. We can define the inverse of a `hasOne` relationship using the `belongsTo` method:

<?php

Expand Down

0 comments on commit d4fac60

Please sign in to comment.