Search for non-existing values now returns nothing.

This commit is contained in:
James Cole
2021-09-17 08:46:03 +02:00
parent 0e5256c8ce
commit 6691062747
3 changed files with 53 additions and 14 deletions

View File

@@ -767,4 +767,14 @@ class GroupCollector implements GroupCollectorInterface
return $groups;
}
/**
* @inheritDoc
*/
public function findNothing(): GroupCollectorInterface
{
$this->query->where('transaction_groups.id', -1);
return $this;
}
}