We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9f4ce3 commit e2f692fCopy full SHA for e2f692f
1 file changed
classes/ui/class-branding.php
@@ -179,14 +179,14 @@ public function get_admin_submenu_name(): string {
179
/**
180
* Get the admin-submenu position.
181
*
182
- * @return string
+ * @return int|null
183
*/
184
- public function get_admin_submenu_position(): string {
+ public function get_admin_submenu_position(): int|null {
185
if ( $this->get_branding_id() !== 0 && $this->get_branding_id() !== 4958 ) {
186
- return '-1000';
+ return -1000; // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
187
}
188
189
- return '';
+ return null;
190
191
192
0 commit comments