Skip to content

Commit

Permalink
Update cronjob_events_ics_import.php
Browse files Browse the repository at this point in the history
  • Loading branch information
schorschy committed Nov 21, 2023
1 parent 12cfd32 commit 9c34292
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/cronjob_events_ics_import.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

class rex_cronjob_events_ics_import extends rex_cronjob
{
public function execute()
public function execute(): void
{
$debug_dump = []; // Debug-Array, das bei enstprechender Option ausgegeben wird

Expand Down Expand Up @@ -220,12 +220,12 @@ public function execute()
}
}

public function getTypeName()
public function getTypeName(): string
{
return rex_i18n::msg('events_ics_import_cronjob_name');
}

public function getParamFields()
public function getParamFields(): array
{
// ICS-Datei als Demo vorschlagen
$default_url = 'https://www.schulferien.org/deutschland/ical/download/?lid=81&j='.date("Y").'&t=2';
Expand Down

0 comments on commit 9c34292

Please sign in to comment.