Conditions | 4 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 12 |
Ratio | 100 % |
Tests | 0 |
CRAP Score | 20 |
Changes | 0 |
1 | <?php |
||
32 | public function getUrl($method, array $params = []) |
||
33 | { |
||
34 | switch ($method) { |
||
35 | case 'getBibFond': |
||
36 | return [ |
||
37 | 'url' => '/1.0/report/form/bibFond', |
||
38 | 'method' => 'GET', |
||
39 | 'code' => 200 |
||
40 | ]; |
||
41 | case 'getEBooks': |
||
42 | return [ |
||
43 | 'url' => '/1.0/report/form/eBooks', |
||
44 | 'method' => 'GET', |
||
72 | } |