From 5567c1c088c9bed9bd6d4ed4f2626e3a170ce6ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Wed, 23 May 2018 15:18:57 +0200 Subject: [PATCH] Fix: Case mismatch in method call --- src/LaunchDarkly/Util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LaunchDarkly/Util.php b/src/LaunchDarkly/Util.php index 6ab2ae28c..f25f241e0 100644 --- a/src/LaunchDarkly/Util.php +++ b/src/LaunchDarkly/Util.php @@ -14,7 +14,7 @@ class Util */ public static function dateTimeToUnixMillis($dateTime) { - $timeStampSeconds = (int)$dateTime->getTimeStamp(); + $timeStampSeconds = (int)$dateTime->getTimestamp(); $timestampMicros = $dateTime->format('u'); return $timeStampSeconds * 1000 + (int)($timestampMicros / 1000); }