Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
61 | public static function htmlQueryResultLink( $link ) { |
||
62 | // Get linker instance |
||
63 | $linker = class_exists( 'DummyLinker' ) ? new DummyLinker : new Linker; |
||
64 | |||
65 | // Set caption |
||
66 | $link->setCaption( '[+]' ); |
||
67 | |||
68 | // Set parameters |
||
69 | $link->setParameter( '' , 'class' ); |
||
70 | $link->setParameter( '' , 'searchlabel' ); |
||
71 | return $link->getText( SMW_OUTPUT_HTML, $linker ); |
||
72 | } |
||
73 | |||
74 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.