From fe37f04898c33b4c0d13f461879244ddff7c23a2 Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Thu, 16 Apr 2020 11:00:16 +0200 Subject: [PATCH] Use short PHP version --- src/DebugBar/DataCollector/PhpInfoCollector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DebugBar/DataCollector/PhpInfoCollector.php b/src/DebugBar/DataCollector/PhpInfoCollector.php index 57e9e45..15a3f22 100644 --- a/src/DebugBar/DataCollector/PhpInfoCollector.php +++ b/src/DebugBar/DataCollector/PhpInfoCollector.php @@ -29,7 +29,7 @@ class PhpInfoCollector extends DataCollector implements Renderable public function collect() { return array( - 'version' => PHP_VERSION, + 'version' => implode('.', [PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION]), 'interface' => PHP_SAPI ); }