Skip to content

Commit def4ace

Browse files
committed
Extend findBy no need to check for
1 parent 7b9b3fa commit def4ace

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/Provider/DoctrineProvider.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,6 @@ public function getById($id)
243243
*/
244244
public function findBy($data)
245245
{
246-
if(!is_array($data) || empty($data)) {
247-
return;
248-
}
249-
250246
$qb = $this->repository->createQueryBuilder('p');
251247
$qb->select('p');
252248
$qb->where('p.queue = :queue');

0 commit comments

Comments
 (0)