Skip to content

Commit 08400bc

Browse files
authored
Merge pull request #340 from lloc/refactoring-version-2-8
Static and not self
2 parents 311c261 + 1621be3 commit 08400bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

includes/MslsOptionsTaxTerm.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ protected static function get_base_defined( string $tax_query ): string {
5959
}
6060
}
6161

62-
return self::BASE_DEFINED;
62+
return static::BASE_DEFINED;
6363
}
6464

6565
protected static function get_base_option(): string {
66-
$base_option = get_option( self::BASE_OPTION, '' );
66+
$base_option = get_option( static::BASE_OPTION, '' );
6767

68-
return $base_option ?: self::BASE_DEFINED;
68+
return $base_option ?: static::BASE_DEFINED;
6969
}
7070
}

0 commit comments

Comments
 (0)