We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 57b8d7b + 73bb4ad commit 08d82bcCopy full SHA for 08d82bc
app/Models/IntegrationGroup.php
@@ -94,15 +94,12 @@ public function getRelatedObjects()
94
*/
95
public function getDeletionSummary(): array
96
{
97
- $events = $this->getRelatedEvents();
98
- $blocks = $this->getRelatedBlocks();
99
- $objects = $this->getRelatedObjects();
100
101
return [
102
'integrations' => $this->integrations()->count(),
103
- 'events' => $events->count(),
104
- 'blocks' => $blocks->count(),
105
- 'objects' => $objects->count(),
+ 'events' => $this->getRelatedEvents()->count(),
+ 'blocks' => $this->getRelatedBlocks()->count(),
+ 'objects' => $this->getRelatedObjects()->count(),
106
'service_name' => $this->service,
107
'account_id' => $this->account_id,
108
];
0 commit comments