Merge pull request #685 from loic-sharma/patch-1
Fixed some minor spelling mistakes in Eloquent
This commit is contained in:
commit
dbb4c169da
|
@ -129,9 +129,9 @@ public function hydrate($model, $results)
|
||||||
{
|
{
|
||||||
foreach ($this->model_includes() as $relationship => $constraints)
|
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
|
// 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, '.'))
|
if (str_contains($relationship, '.'))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue