Skip to content

Commit

Permalink
Explain unusual parent call
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Jan 5, 2019
1 parent ce2bcdd commit 8a41e84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ORM/Query.php
Expand Up @@ -1285,6 +1285,7 @@ public function delete($table = null)
$repository = $this->getRepository();
$this->from([$repository->getAlias() => $repository->getTable()]);

// We do not pass $table to parent class here
return parent::delete();
}

Expand Down

0 comments on commit 8a41e84

Please sign in to comment.