chore: lint code

This commit is contained in:
Ben Goldsworthy 2021-04-27 09:54:07 +01:00
parent 4415c98eaa
commit d3283bdb02
8 changed files with 25 additions and 19 deletions

View file

@ -36,7 +36,7 @@ class Footnotes_Public {
* @var string $version The current version of this plugin.
*/
private $version;
/**
* The reference container widget.
*
@ -133,8 +133,8 @@ class Footnotes_Public {
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-footnotes-parser.php';
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/widget/class-footnotes-widget-reference-container.php';
$this->reference_container_widget = new Footnotes_Widget_Reference_Container($this->plugin_name);
$this->reference_container_widget = new Footnotes_Widget_Reference_Container( $this->plugin_name );
$this->a_obj_task = new Footnotes_Parser();
}
@ -261,7 +261,7 @@ class Footnotes_Public {
}
}
/**
* Register the widget(s) for the public-facing side of the site.
*

View file

@ -25,7 +25,7 @@ class Footnotes_Widget_Reference_Container extends Footnotes_Widget_Base {
* @var string $plugin_name The ID of this plugin.
*/
private $plugin_name;
/**
* Initialize the class and set its properties.
*