From 345d57f45f0ac94f44adfde4bb781c6c4c9cd500 Mon Sep 17 00:00:00 2001 From: Andrey Filippov Date: Mon, 14 Feb 2022 14:39:18 +0400 Subject: [PATCH] fix PHP 8.1 deprecation notice (#918) --- src/Dashboard/DashboardLogger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dashboard/DashboardLogger.php b/src/Dashboard/DashboardLogger.php index 874d0d236f..cb0726873e 100644 --- a/src/Dashboard/DashboardLogger.php +++ b/src/Dashboard/DashboardLogger.php @@ -85,7 +85,7 @@ public static function log($appId, string $type, array $attributes = []) 'channel' => $channelName, 'data' => [ 'type' => $type, - 'time' => strftime('%H:%M:%S'), + 'time' => date('H:i:s'), ] + $attributes, ]); }