From 675ebd57b71702542770799325cd7677f1f143aa Mon Sep 17 00:00:00 2001 From: Alex Bouma Date: Mon, 1 Oct 2018 18:06:39 +0200 Subject: [PATCH] Fix incorrect constant usage (#57) --- ApplicationInsights/Telemetry_Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationInsights/Telemetry_Client.php b/ApplicationInsights/Telemetry_Client.php index d4f66bf..227e30c 100644 --- a/ApplicationInsights/Telemetry_Client.php +++ b/ApplicationInsights/Telemetry_Client.php @@ -89,7 +89,7 @@ class Telemetry_Client $dataPoint = new Channel\Contracts\Data_Point(); $dataPoint->setName($name); $dataPoint->setValue($value); - $dataPoint->setKind($type == NULL ? Channel\Contracts\Data_Point_Type::AGGREGATION : $type); + $dataPoint->setKind($type == NULL ? Channel\Contracts\Data_Point_Type::Aggregation : $type); $dataPoint->setCount($count); $dataPoint->setMin($min); $dataPoint->setMax($max);