| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | public static function htmlProcessingElement( $isHtml = true ) { |
||
|
|
|||
| 22 | SMWOutputs::requireResource( 'ext.srf' ); |
||
| 23 | |||
| 24 | return Html::rawElement( |
||
| 25 | 'div', |
||
| 26 | [ 'class' => 'srf-spinner mw-small-spinner' ], |
||
| 27 | Html::element( |
||
| 28 | 'span', |
||
| 29 | [ 'class' => 'srf-processing-text' ], |
||
| 30 | wfMessage( 'srf-module-loading' )->inContentLanguage()->text() |
||
| 31 | ) |
||
| 32 | ); |
||
| 33 | } |
||
| 34 | |||
| 74 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.