Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
22 | public static function getMethods() : array |
||
23 | { |
||
24 | return [ |
||
25 | RequestInterface::METHOD_GET => RequestInterface::METHOD_GET, |
||
26 | RequestInterface::METHOD_POST => RequestInterface::METHOD_POST, |
||
27 | RequestInterface::METHOD_PUT => RequestInterface::METHOD_PUT, |
||
28 | RequestInterface::METHOD_PATCH => RequestInterface::METHOD_PATCH, |
||
29 | RequestInterface::METHOD_DELETE => RequestInterface::METHOD_DELETE, |
||
30 | ]; |
||
31 | } |
||
32 | |||
43 |