From bcf240392475d6645204b02cf594d8f5335b1e28 Mon Sep 17 00:00:00 2001 From: arfenis Date: Tue, 17 Sep 2024 15:48:34 -0400 Subject: [PATCH] stylo --- .../Services/EntityIntegrationHistoryService.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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()