diff --git a/src/Smappee.php b/src/Smappee.php index c0f7469..2a1ad6c 100644 --- a/src/Smappee.php +++ b/src/Smappee.php @@ -185,7 +185,7 @@ public function getServiceLocationInfo($serviceLocationId) return $result; } - public function getConsumption($serviceLocationId, \DateTime $from, \DateTime $to, $aggregation = self::AGGREGATION_5MIN) + public function getConsumption($serviceLocationId, \DateTime $from, \DateTime $to, $aggregation = self::AGGREGATION_5MINS) { $serviceLocationId = (int)$serviceLocationId;