Skip to content

Commit

Permalink
Merge pull request #76 from webdevium/patch-1
Browse files Browse the repository at this point in the history
Fixed typo in alias name
  • Loading branch information
staudenmeir authored Jan 3, 2022
2 parents 6a61eb3 + 7290d79 commit 9b65000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Eloquent/Relations/BelongsToManyOfDescendants.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class BelongsToManyOfDescendants extends BelongsToMany
{
use IsOfDescendantsRelation {
addConstraints as baseAdddConstraints;
addConstraints as baseAddConstraints;
getRelationExistenceQuery as baseGetRelationExistenceQuery;
}

Expand Down Expand Up @@ -49,7 +49,7 @@ public function addConstraints()
{
$this->performJoin();

$this->baseAdddConstraints();
$this->baseAddConstraints();
}

/**
Expand Down

0 comments on commit 9b65000

Please sign in to comment.