Merge pull request #685 from loic-sharma/patch-1

Fixed some minor spelling mistakes in Eloquent
This commit is contained in:
Taylor Otwell 2012-05-18 06:15:34 -07:00
commit dbb4c169da
1 changed files with 2 additions and 2 deletions

View File

@ -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;