chore: lint code
This commit is contained in:
parent
760e7cc2d0
commit
7c0b05b59e
2 changed files with 21 additions and 19 deletions
|
@ -41,23 +41,25 @@ class Admin {
|
|||
*
|
||||
* @since 2.8.0
|
||||
*/
|
||||
public function __construct( /**
|
||||
* The ID of this plugin.
|
||||
*
|
||||
* @access private
|
||||
* @since 2.8.0
|
||||
* @see Includes\Footnotes::$plugin_name
|
||||
* @var string $plugin_name The ID of this plugin.
|
||||
*/
|
||||
private string $plugin_name, /**
|
||||
* The version of this plugin.
|
||||
*
|
||||
* @access private
|
||||
* @since 2.8.0
|
||||
* @see Includes\Footnotes::$version
|
||||
* @var string $version The current version of this plugin.
|
||||
*/
|
||||
private string $version ) {
|
||||
public function __construct(
|
||||
/**
|
||||
* The ID of this plugin.
|
||||
*
|
||||
* @access private
|
||||
* @since 2.8.0
|
||||
* @see Includes\Footnotes::$plugin_name
|
||||
*/
|
||||
private string $plugin_name,
|
||||
|
||||
/**
|
||||
* The version of this plugin.
|
||||
*
|
||||
* @access private
|
||||
* @since 2.8.0
|
||||
* @see Includes\Footnotes::$version
|
||||
*/
|
||||
private string $version
|
||||
) {
|
||||
|
||||
$this->load_dependencies();
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ class Init {
|
|||
* @since 1.5.0
|
||||
* @since 2.8.0 Added `$plugin_name` parameter.
|
||||
*/
|
||||
public function __construct(
|
||||
public function __construct(
|
||||
/**
|
||||
* The ID of this plugin.
|
||||
*
|
||||
|
@ -60,7 +60,7 @@ class Init {
|
|||
*
|
||||
* @since 2.8.0
|
||||
*/
|
||||
private string $plugin_name
|
||||
private string $plugin_name
|
||||
) {
|
||||
$this->load_dependencies();
|
||||
|
||||
|
|
Reference in a new issue