Skip to content

Commit

Permalink
Merge pull request laravel#685 from loic-sharma/patch-1
Browse files Browse the repository at this point in the history
Fixed some minor spelling mistakes in Eloquent
  • Loading branch information
taylorotwell committed May 18, 2012
2 parents a6ad5c6 + 4ea27c9 commit dbb4c16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions laravel/database/eloquent/query.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ public function hydrate($model, $results)
{
foreach ($this->model_includes() as $relationship => $constraints)
{
// If the relationship is nested, we will skip laoding it here and let
// If the relationship is nested, we will skip loading it here and let
// the load method parse and set the nested eager loads on the right
// relationship when it is getting ready to eager laod.
// relationship when it is getting ready to eager load.
if (str_contains($relationship, '.'))
{
continue;
Expand Down

0 comments on commit dbb4c16

Please sign in to comment.