Skip to content

Commit 910be0f

Browse files
committed
fixup! feat: track overly long activities
1 parent 6165479 commit 910be0f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

lib/SetupChecks/HasOverlyLongActivities.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,19 @@ public function __construct(
2121
private IAppConfig $appConfig,
2222
private IL10N $l10n,
2323
) {
24-
2524
}
25+
26+
#[\Override]
2627
public function getCategory(): string {
2728
return 'activity';
2829
}
2930

31+
#[\Override]
3032
public function getName(): string {
3133
return $this->l10n->t('Check for overly long activities');
3234
}
3335

36+
#[\Override]
3437
public function run(): SetupResult {
3538
$activities = $this->appConfig->getValueInt(Application::APP_ID, 'overly_long_activities', 0);
3639
if ($activities === 0) {

0 commit comments

Comments
 (0)