Skip to content

Commit e2f692f

Browse files
committed
Saving helps
1 parent d9f4ce3 commit e2f692f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

classes/ui/class-branding.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,14 +179,14 @@ public function get_admin_submenu_name(): string {
179179
/**
180180
* Get the admin-submenu position.
181181
*
182-
* @return string
182+
* @return int|null
183183
*/
184-
public function get_admin_submenu_position(): string {
184+
public function get_admin_submenu_position(): int|null {
185185
if ( $this->get_branding_id() !== 0 && $this->get_branding_id() !== 4958 ) {
186-
return '-1000';
186+
return -1000; // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
187187
}
188188

189-
return '';
189+
return null;
190190
}
191191

192192
/**

0 commit comments

Comments
 (0)