Skip to content

Commit

Permalink
Fix Creation of dynamic property Warning
Browse files Browse the repository at this point in the history
  • Loading branch information
goaround committed Jul 11, 2024
1 parent b6688c0 commit 21f001b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions admin/settings-page-network.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

class NetworkSettingsPage extends SettingsPage {

protected array $domains;

public function __construct() {
add_action( 'network_admin_menu', [ $this, 'add_plugin_page' ] );
add_action( 'admin_init', [ $this, 'page_init' ] );
Expand Down
2 changes: 1 addition & 1 deletion admin/settings-page-single.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class SingleSettingsPage extends SettingsPage {

protected $domains;
protected array $domains;

public function add_plugin_page() {

Expand Down

0 comments on commit 21f001b

Please sign in to comment.