Skip to content

Commit b572753

Browse files
committed
fix(DataSource\CarbonIntensity\Rte\CronTask): cron info factorization
1 parent b46922c commit b572753

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/DataSource/CarbonIntensity/Rte/CronTask.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public static function enumerateTasks(): array
8484
public static function cronInfo(string $name): array
8585
{
8686
switch ($name) {
87-
case 'DownloadRte':
87+
case self::$downloadMethod:
8888
return [
8989
'description' => __('Download carbon emissions from RTE', 'carbon'),
9090
'parameter' => __('Maximum number of entries to download', 'carbon'),

0 commit comments

Comments
 (0)