Skip to content

Commit

Permalink
rename to loadMissing
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Aug 18, 2017
1 parent 868ca8d commit 4166c12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Eloquent/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ public function load($relations)
* @param array|string $relations
* @return $this
*/
public function loadIfNotLaded($relations)
public function loadMissing($relations)
{
$relations = is_string($relations) ? func_get_args() : $relations;

Expand Down

0 comments on commit 4166c12

Please sign in to comment.