diff --git a/src/Domains/Workflow/Integrations/Services/EntityIntegrationHistoryService.php b/src/Domains/Workflow/Integrations/Services/EntityIntegrationHistoryService.php index 23f4d4a1c..53cecedb5 100644 --- a/src/Domains/Workflow/Integrations/Services/EntityIntegrationHistoryService.php +++ b/src/Domains/Workflow/Integrations/Services/EntityIntegrationHistoryService.php @@ -10,7 +10,6 @@ use Kanvas\Workflow\Integrations\Models\IntegrationsCompany; use Kanvas\Workflow\Models\Integrations; - class EntityIntegrationHistoryService { public function __construct( @@ -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()