Skip to content

Commit

Permalink
Merge pull request #340 from lloc/refactoring-version-2-8
Browse files Browse the repository at this point in the history
Static and not self
  • Loading branch information
lloc committed Jun 13, 2024
2 parents 311c261 + 1621be3 commit 08400bc
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 08400bc

Please sign in to comment.