From 38a56d51af26de031811478752189cf3847fab83 Mon Sep 17 00:00:00 2001 From: Matthew Machuga Date: Thu, 10 Jan 2013 15:07:08 -0500 Subject: [PATCH] Fix some headers in eloquent.md --- eloquent.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eloquent.md b/eloquent.md index 7c3b3ad6f07..0efe62b8aaa 100644 --- a/eloquent.md +++ b/eloquent.md @@ -177,7 +177,7 @@ Take note that Eloquent assumes the foreign key of the relationship based on the To define the inverse of the relationship on the `Phone` model, we use the `belongsTo` method: -***Defining The Inverse Of A Relation** +**Defining The Inverse Of A Relation** class Phone extends Eloquent { @@ -216,7 +216,7 @@ Again, you may override the conventional foreign key by passing a second argumne To define the inverse of the relationship on the `Comment` model, we use the `belongsTo` method: -***Defining The Inverse Of A Relation** +**Defining The Inverse Of A Relation** class Comment extends Eloquent { @@ -289,7 +289,7 @@ Poymorphic relations allow a model to belongs to more than one other model, on a Now, we can retrieve the photos for either a staff member or an order: -***Retrieving A Polymorphic Relation** +**Retrieving A Polymorphic Relation** $staff = Staff::find(1); @@ -608,4 +608,4 @@ Sometimes you may wish to limit the attributes that are included in your model's protected $hidden = ['password']; - } \ No newline at end of file + }