One Line And One Line Removed

This commit is contained in:
Devansh 2020-08-04 17:32:00 +05:30
parent a05fa10309
commit 70dc89ad41
1 changed files with 1 additions and 1 deletions

View File

@ -39,13 +39,13 @@ class CustomerRepository extends Repository
public function checkBulkCustomerIfTheyHaveOrderPendingOrProcessing($customerIds)
{
foreach ($customerIds as $customerId) {
$customer = $this->findorFail($customerId);
if ($this->checkIfCustomerHasOrderPendingOrProcessing($customer)) {
return true;
}
}
return false;
}
}