Skip to content

Commit

Permalink
Static and not self
Browse files Browse the repository at this point in the history
  • Loading branch information
lloc committed Jun 13, 2024
1 parent 4ecafd4 commit 1621be3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions includes/MslsOptionsTaxTerm.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ protected static function get_base_defined( string $tax_query ): string {
}
}

return self::BASE_DEFINED;
return static::BASE_DEFINED;
}

protected static function get_base_option(): string {
$base_option = get_option( self::BASE_OPTION, '' );
$base_option = get_option( static::BASE_OPTION, '' );

return $base_option ?: self::BASE_DEFINED;
return $base_option ?: static::BASE_DEFINED;
}
}

0 comments on commit 1621be3

Please sign in to comment.