Skip to content

Commit e334eed

Browse files
authored
fix(OpenTelemetry/Metric): use named argument for InMemoryExporter instanciation (#174)
1 parent 2efbd3d commit e334eed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/OpenTelemetry/Metric/MetricExporter/InMemoryMetricExporterFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ public function createExporter(#[\SensitiveParameter] ExporterDsn $dsn, Exporter
2222
{
2323
assert($options instanceof MetricExporterOptions);
2424

25-
return new InMemoryExporter($options->getTemporality()->toData());
25+
return new InMemoryExporter(temporality: $options->getTemporality()->toData());
2626
}
2727
}

0 commit comments

Comments
 (0)