@@ -470,6 +470,8 @@ discard block |
||
470 | 470 | * - native PHP |
471 | 471 | * |
472 | 472 | * This is so we can use the same code to render a client-side and server-side template. |
473 | + * @param string $name |
|
474 | + * @param boolean $is_template |
|
473 | 475 | */ |
474 | 476 | private function render_widget_attr( $name, $value, $is_template ) { |
475 | 477 | echo $is_template ? "<%= $name %>" : esc_attr( $value ); |
@@ -477,6 +479,8 @@ discard block |
||
477 | 479 | |
478 | 480 | /** |
479 | 481 | * See above ^^ |
482 | + * @param string $name |
|
483 | + * @param boolean $is_template |
|
480 | 484 | */ |
481 | 485 | private function render_widget_option_selected( $name, $value, $compare, $is_template ) { |
482 | 486 | $compare_json = json_encode( $compare ); |