We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 710fdc7 commit 80001c2Copy full SHA for 80001c2
DataCollector/Util/ValueExporter.php
@@ -28,7 +28,7 @@ class ValueExporter
28
public function exportValue($value, $depth = 1, $deep = false)
29
{
30
if (is_object($value)) {
31
- if ($value instanceof \DateTime || $value instanceof \DateTimeInterface) {
+ if ($value instanceof \DateTimeInterface) {
32
return sprintf('Object(%s) - %s', get_class($value), $value->format(\DateTime::ISO8601));
33
}
34
0 commit comments