Skip to content

Commit 21f001b

Browse files
committed
Fix Creation of dynamic property Warning
1 parent b6688c0 commit 21f001b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

admin/settings-page-network.php

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
class NetworkSettingsPage extends SettingsPage {
88

9+
protected array $domains;
10+
911
public function __construct() {
1012
add_action( 'network_admin_menu', [ $this, 'add_plugin_page' ] );
1113
add_action( 'admin_init', [ $this, 'page_init' ] );

admin/settings-page-single.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class SingleSettingsPage extends SettingsPage {
88

9-
protected $domains;
9+
protected array $domains;
1010

1111
public function add_plugin_page() {
1212

0 commit comments

Comments
 (0)