exports: cleaning code

This commit is contained in:
2022-09-01 10:11:53 +02:00
parent cae9dddac4
commit 374ad43df6
4 changed files with 15 additions and 62 deletions

View File

@@ -96,7 +96,7 @@ class DateAggregator implements AggregatorInterface
$fmt = 'IW'; break;
case 'year':
$fmt = 'YYYY'; $order = 'DESC'; break;
$fmt = 'YYYY'; $order = 'DESC'; break; // order DESC does not works !
default:
throw new RuntimeException(sprintf("The frequency data '%s' is invalid.", $data['frequency']));