Skip to content

Commit

Permalink
updating Changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
boredom2 committed Aug 11, 2021
1 parent a18cf11 commit 139815f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/apicalls/statisticscall.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,9 @@ public function subscriptionTerminationsByDay(string $reason=""):void{
public function realtime($timeframe=30):void{
$this->path.="realtime";
if($this->timeframeIsValid($timeframe)){
$this->getParameters()->set("timeframe",$timeframe);
$this->getParameters()->set("timeFrame",$timeframe);
}else{
throw new \Exception("Timeframe not supported");
throw new \Exception("TimeFrame not supported");
}
}

Expand All @@ -193,9 +193,9 @@ public function realtime($timeframe=30):void{
public function realtimeExternal($timeframe=30):void{
$this->path.="realtimeexternal";
if($this->timeframeIsValid($timeframe)){
$this->getParameters()->set("timeframe",$timeframe);
$this->getParameters()->set("timeFrame",$timeframe);
}else{
throw new \Exception("Timeframe not supported");
throw new \Exception("TimeFrame not supported");
}
}

Expand All @@ -205,9 +205,9 @@ public function realtimeExternal($timeframe=30):void{
public function realtimeCharts($timeframe=30):void{
$this->path.="realtimecharts";
if($this->timeframeIsValid($timeframe)){
$this->getParameters()->set("timeframe",$timeframe);
$this->getParameters()->set("timeFrame",$timeframe);
}else{
throw new \Exception("Timeframe not supported");
throw new \Exception("TimeFrame not supported");
}
}

Expand All @@ -217,9 +217,9 @@ public function realtimeCharts($timeframe=30):void{
public function realtimeChartsExternal($timeframe=30):void{
$this->path.="realtimechartsexternal";
if($this->timeframeIsValid($timeframe)){
$this->getParameters()->set("timeframe",$timeframe);
$this->getParameters()->set("timeFrame",$timeframe);
}else{
throw new \Exception("Timeframe not supported");
throw new \Exception("TimeFrame not supported");
}
}

Expand Down

0 comments on commit 139815f

Please sign in to comment.