Skip to content

Commit ee5a979

Browse files
committed
formatting
1 parent 56831cb commit ee5a979

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -760,12 +760,12 @@ protected function newRelatedInstance($class)
760760
}
761761

762762
/**
763-
* Create a new model instance for a through model.
763+
* Create a new model instance for a related "through" model.
764764
*
765765
* @param string $class
766766
* @return mixed
767767
*/
768-
protected function newThroughInstance($class)
768+
protected function newRelatedThroughInstance($class)
769769
{
770770
return new $class;
771771
}

0 commit comments

Comments
 (0)