We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c07146b commit 4932d87Copy full SHA for 4932d87
tests/Integrations/MongoDB/Latest/MongoDBTest.php
@@ -5,8 +5,6 @@
5
use DDTrace\Tag;
6
use DDTrace\Tests\Common\IntegrationTestCase;
7
use DDTrace\Tests\Common\SpanAssertion;
8
-use DDTrace\Tests\Integrations\MongoDB\AnObject;
9
-use DDTrace\Tests\Integrations\MongoDB\AQuery;
10
use Exception;
11
use MongoDB\Client;
12
use stdClass;
@@ -1016,4 +1014,18 @@ private function arrayToObject(array $array)
1016
1014
}
1017
1015
return $obj;
1018
+}
+
1019
+class AQuery
1020
+{
1021
+ public $brand;
1022
1023
+ public function __construct($brand = 'ferrari')
1024
+ {
1025
+ $this->brand = $brand;
1026
+ }
1027
1028
1029
+class AnObject
1030
1031
tests/Integrations/MongoDB/Utils.php
0 commit comments