Conditions | 2 |
Paths | 2 |
Total Lines | 19 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
19 | public function url($long_url, $action = 'long2short') |
||
20 | { |
||
21 | if (!is_string($long_url)) { |
||
22 | $this->setError('参数错误'); |
||
23 | |||
24 | return false; |
||
25 | } |
||
26 | |||
27 | $queryStr = [ |
||
28 | "action" => $action, |
||
29 | "long_url" => $long_url, |
||
30 | ]; |
||
31 | |||
32 | $this->module = 'shorturl'; |
||
33 | |||
34 | $res = $this->_post('', $queryStr); |
||
35 | |||
36 | return $res; |
||
37 | } |
||
38 | |||
59 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.