Conditions | 1 |
Paths | 1 |
Total Lines | 19 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | public function jsonSerialize() |
||
10 | { |
||
11 | return [ |
||
12 | 'foo' => 134, |
||
13 | 'foobar' => [ |
||
14 | 'foobar_foo' => 'foo', |
||
15 | 'foobar_bar' => 212, |
||
16 | ], |
||
17 | 'bars' => [ |
||
18 | ['bar' => true, 'foo' => 134.212], |
||
19 | ['bar' => false, 'foo' => 134.212], |
||
20 | ['bar' => false, 'foo' => 134.212], |
||
21 | ], |
||
22 | 'baz' => [ |
||
23 | ['foo' => 'bar 0', 'bar' => ['foo' => true, 'bar' => 134]], |
||
24 | ['foo' => 'bar 1', 'bar' => ['foo' => false, 'bar' => 212]], |
||
25 | ], |
||
26 | ]; |
||
27 | } |
||
28 | |||
49 |