| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 71 | public function print_single_option( $selected_value, $truncate ) { |
||
| 72 | echo '<option value="' . esc_attr( $this->saved_value ) . '"'; |
||
| 73 | selected( esc_attr( $selected_value ), esc_attr( $this->saved_value ) ); |
||
| 74 | // TODO: add hook that can add attributes to option text |
||
| 75 | echo '>'; |
||
| 76 | echo FrmAppHelper::truncate( $this->option_label, $truncate ) . '</option>'; |
||
| 77 | } |
||
| 78 | |||
| 79 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.