chore: lint code
This commit is contained in:
parent
c25bd7d8a2
commit
8bb41c7a7a
9 changed files with 49 additions and 50 deletions
|
@ -48,11 +48,11 @@ class Init {
|
|||
/**
|
||||
* Initializes all WordPress hooks for the Plugin Settings.
|
||||
*
|
||||
*
|
||||
* @since 1.5.0
|
||||
* @since 2.8.0 Added `$plugin_name` parameter.
|
||||
*/
|
||||
public function __construct( /**
|
||||
public function __construct(
|
||||
/**
|
||||
* The ID of this plugin.
|
||||
*
|
||||
* @access private
|
||||
|
@ -60,7 +60,8 @@ class Init {
|
|||
*
|
||||
* @since 2.8.0
|
||||
*/
|
||||
private string $plugin_name ) {
|
||||
private string $plugin_name
|
||||
) {
|
||||
$this->load_dependencies();
|
||||
|
||||
$this->settings_page = new Settings( $this->plugin_name );
|
||||
|
|
|
@ -54,7 +54,7 @@ class Core {
|
|||
*
|
||||
* @var Loader $loader Maintains and registers all hooks for the plugin.
|
||||
*/
|
||||
protected ?\footnotes\includes\Loader $loader = null;
|
||||
protected \footnotes\includes\Loader $loader;
|
||||
|
||||
/**
|
||||
* The unique identifier of this plugin
|
||||
|
|
|
@ -1109,7 +1109,6 @@ class Settings {
|
|||
/**
|
||||
* Stores a singleton reference of this class.
|
||||
*
|
||||
*
|
||||
* @since 1.5.0
|
||||
*/
|
||||
private static ?\footnotes\includes\Settings $a_obj_instance = null;
|
||||
|
@ -1344,7 +1343,6 @@ class Settings {
|
|||
/**
|
||||
* Returns a singleton of this class.
|
||||
*
|
||||
*
|
||||
* @since 1.5.0
|
||||
* @todo Remove?
|
||||
*/
|
||||
|
|
Reference in a new issue