- Fixed a bug with an incorrect execute
This commit is contained in:
parent
0192975f10
commit
033a183269
@ -132,8 +132,6 @@ class Repository implements RepositoryInterface
|
|||||||
|
|
||||||
public function deleteAll()
|
public function deleteAll()
|
||||||
{
|
{
|
||||||
$this->eventExecute(Event\Query\Delete::class, $this);
|
|
||||||
|
|
||||||
return $this->deleteSqlQuery()->runDeleteQuery();
|
return $this->deleteSqlQuery()->runDeleteQuery();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -318,7 +318,7 @@ class RelationBuilder
|
|||||||
return $this->applyFilter($this->repository, $name);
|
return $this->applyFilter($this->repository, $name);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function manyToMany(string $name, Relation $relation, Relation & $relationRelation = null, bool $selectBridgeField = true) : Repository
|
public function manyToMany(string $name, Relation $relation, ? Relation &$relationRelation = null, bool $selectBridgeField = true) : Repository
|
||||||
{
|
{
|
||||||
extract($this->relationAnnotations($name, $relation));
|
extract($this->relationAnnotations($name, $relation));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user