1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-01-16 21:08:34 +01:00

Use short PHP version

This commit is contained in:
Barry vd. Heuvel 2020-04-16 11:00:16 +02:00 committed by GitHub
parent c5354a7eaa
commit fe37f04898
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
);
}