Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch '2.0'

Conflicts:
	Resources/doc/index.rst
	Tests/Logger/DoctrineMongoDBLoggerTest.php
  • Loading branch information...
commit 75201090ed5160a1d224f7b9f24ab8692711c4c0 2 parents 87000bf + 5901672
@jmikola jmikola authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  DataCollector/PrettyDataCollector.php
View
2  DataCollector/PrettyDataCollector.php
@@ -193,7 +193,7 @@ private function bsonEncode($query, $array = true)
$formatted = 'null';
} elseif (is_bool($value)) {
$formatted = $value ? 'true' : 'false';
- } elseif (is_numeric($value)) {
+ } elseif (is_int($value) || is_float($value)) {
$formatted = $value;
} elseif (is_scalar($value)) {
$formatted = '"'.$value.'"';
Please sign in to comment.
Something went wrong with that request. Please try again.