From 69bae4098f0f13dfad3ee3d9746646664203c42f Mon Sep 17 00:00:00 2001 From: Joerg Mitzlaff Date: Sun, 1 Apr 2018 22:27:57 +0200 Subject: [PATCH] bugfix for default aggregation wrong constant name --- src/Smappee.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;