Skip to content

Commit

Permalink
Rename param
Browse files Browse the repository at this point in the history
  • Loading branch information
kimpepper committed Jan 13, 2024
1 parent aa0ba59 commit 8107cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Forecast/Serializer/ForecastPeriodNormalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ForecastPeriodNormalizer extends BaseNormalizer {
/**
* {@inheritdoc}
*/
public function denormalize($data, $class, $format = NULL, array $context = []) {
public function denormalize($data, $type, $format = NULL, array $context = []) {
$period = (new ForecastPeriod())
->setStartTime($this->serializer->denormalize($data['@start-time-utc'], \DateTimeImmutable::class))
->setEndTime($this->serializer->denormalize($data['@end-time-utc'], \DateTimeImmutable::class));
Expand Down

0 comments on commit 8107cba

Please sign in to comment.