Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
22 | protected function attributesMap() |
||
23 | { |
||
24 | return [ |
||
25 | 'id' => 'zt.obj_id', |
||
26 | 'name' => 'zt.name', |
||
27 | 'type' => [ |
||
28 | 'name' => 'tt.name', |
||
29 | ], |
||
30 | 'seller' => [ |
||
31 | 'id' => 'zc.obj_id', |
||
32 | 'login' => 'zc.login', |
||
33 | 'seller' => [ |
||
34 | 'id' => 'cr.obj_id', |
||
35 | 'login' => 'cr.login', |
||
36 | ], |
||
37 | ], |
||
38 | 'is_grouping' => 'zt.is_grouping', |
||
39 | 'available_for' => new AvailableForField(), |
||
40 | ]; |
||
51 |