chore: lint code
This commit is contained in:
parent
4415c98eaa
commit
d3283bdb02
8 changed files with 25 additions and 19 deletions
|
@ -87,7 +87,7 @@ abstract class Footnotes_Layout_Engine {
|
|||
* @return array
|
||||
*/
|
||||
abstract protected function get_meta_boxes();
|
||||
|
||||
|
||||
/**
|
||||
* Returns an array describing a sub page section.
|
||||
*
|
||||
|
|
|
@ -43,15 +43,17 @@ class Footnotes_Layout_Init {
|
|||
/**
|
||||
* Class Constructor. Initializes all WordPress hooks for the Plugin Settings.
|
||||
*
|
||||
* @param string $plugin_name The name of the plugin.
|
||||
*
|
||||
* @since 1.5.0
|
||||
* @since 2.8.0 Added `$plugin_name` parameter.
|
||||
*/
|
||||
public function __construct( $plugin_name ) {
|
||||
$this->plugin_name = $plugin_name;
|
||||
|
||||
|
||||
$this->load_dependencies();
|
||||
|
||||
$this->settings_page = new Footnotes_Layout_Settings($this->plugin_name);
|
||||
$this->settings_page = new Footnotes_Layout_Settings( $this->plugin_name );
|
||||
|
||||
// Register hooks/actions.
|
||||
add_action( 'admin_menu', array( $this, 'register_options_submenu' ) );
|
||||
|
|
|
@ -49,7 +49,7 @@ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'layout/class-footnotes-la
|
|||
* @since 1.5.0
|
||||
*/
|
||||
class Footnotes_Layout_Settings extends Footnotes_Layout_Engine {
|
||||
|
||||
|
||||
/**
|
||||
* Initialize the class and set its properties.
|
||||
*
|
||||
|
|
Reference in a new issue