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 072f815 commit a744334Copy full SHA for a744334
test/OVal.php
test/functions.php
@@ -2,7 +2,14 @@
2
3
namespace CodeTool\Jaeger\Tests\MongoDb;
4
5
-function ov(...$kv)
+function ov(...$kv): object
6
{
7
- return new OVal(...$kv);
+ $result = new \stdClass();
8
+
9
+ for ($i = 0; $i <= (int)(\count($kv) / 2) - 1; $i++) {
10
+ $result->{current($kv)} = next($kv);
11
+ next($kv);
12
+ }
13
14
+ return $result;
15
}
0 commit comments