Skip to content

Commit fe37f04

Browse files
authored
Use short PHP version
1 parent c5354a7 commit fe37f04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DebugBar/DataCollector/PhpInfoCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function getName()
2929
public function collect()
3030
{
3131
return array(
32-
'version' => PHP_VERSION,
32+
'version' => implode('.', [PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION]),
3333
'interface' => PHP_SAPI
3434
);
3535
}

0 commit comments

Comments
 (0)