Fixing PHPCS issue - return parameter comment.

This commit is contained in:
And Finally 2021-08-11 18:25:19 +01:00
parent 1a4f061710
commit 7f805eeeed
1 changed files with 2 additions and 2 deletions

View File

@ -801,9 +801,9 @@ class WC_Admin_Addons {
*
* @param string $admin_body_class
*
* @return mixed|string
* @return string
*/
public static function filter_admin_body_classes( string $admin_body_class = '' ) {
public static function filter_admin_body_classes( string $admin_body_class = '' ): string {
if ( isset( $_GET['section'] ) && 'helper' === $_GET['section'] ) {
return " $admin_body_class woocommerce-page-wc-subscriptions ";
}