Skip to content

Commit

Permalink
stylo
Browse files Browse the repository at this point in the history
  • Loading branch information
arfenis committed Sep 17, 2024
1 parent 66e8e67 commit bcf2403
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
use Kanvas\Workflow\Integrations\Models\IntegrationsCompany;
use Kanvas\Workflow\Models\Integrations;


class EntityIntegrationHistoryService
{
public function __construct(
Expand All @@ -37,11 +36,10 @@ public function getByIntegration(Integrations $integration, ?Regions $region = n
})
->get();

foreach($integrationsCompany as $integrationCompany)
{
foreach($integrationsCompany as $integrationCompany) {
if ($integrationCompany->history()->where('apps_id', $this->app->getId())->exists()){
$integrationStatus = array_merge(
$integrationStatus,
$integrationStatus,
$integrationCompany->history->map(function ($history) {
return $history;
})->all()
Expand Down

0 comments on commit bcf2403

Please sign in to comment.