chore: lint code
This commit is contained in:
parent
7ad975c389
commit
f0c6b07a84
17 changed files with 257 additions and 269 deletions
|
@ -64,7 +64,7 @@ abstract class Footnotes_Widget_Base extends WP_Widget {
|
|||
protected function get_widget_width() {
|
||||
return 250;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Registers the child Widget to WordPress.
|
||||
*
|
||||
|
@ -87,5 +87,5 @@ abstract class Footnotes_Widget_Base extends WP_Widget {
|
|||
$l_arr_control_options // Optional Widget Control Options.
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ class Footnotes_Widget_Reference_Container extends Footnotes_Widget_Base {
|
|||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @param string $plugin_name The name of this plugin.
|
||||
* @param string $plugin_name The name of this plugin.
|
||||
*/
|
||||
public function __construct( $plugin_name ) {
|
||||
parent::__construct();
|
||||
|
@ -86,7 +86,7 @@ class Footnotes_Widget_Reference_Container extends Footnotes_Widget_Base {
|
|||
* @link https://developer.wordpress.org/reference/classes/wp_widget/form/ `WP_Widget::form()`
|
||||
* @since 1.5.0
|
||||
*
|
||||
* @param mixed $instance The instance of the widget.
|
||||
* @param mixed $instance The instance of the widget.
|
||||
*/
|
||||
public function form( $instance ) {
|
||||
echo __( 'The widget defines the position of the reference container if set to “widget area”.', 'footnotes' );
|
||||
|
@ -98,8 +98,8 @@ class Footnotes_Widget_Reference_Container extends Footnotes_Widget_Base {
|
|||
* @link https://developer.wordpress.org/reference/classes/wp_widget/widget/ `WP_Widget::widget()`
|
||||
* @since 1.5.0
|
||||
*
|
||||
* @param mixed $args The widget's arguments.
|
||||
* @param mixed $instance The instance of the widget.
|
||||
* @param mixed $args The widget's arguments.
|
||||
* @param mixed $instance The instance of the widget.
|
||||
*/
|
||||
public function widget( $args, $instance ) {
|
||||
global $footnotes;
|
||||
|
|
Reference in a new issue