remove unused parameter from update_options()

This commit is contained in:
Stefan Kalscheuer 2024-03-24 14:17:27 +01:00
parent 14ec07e423
commit d650ae08ee
Signed by: stefan
GPG Key ID: 3887EC2A53B55430

View File

@ -400,11 +400,12 @@ class SCLiveticker {
/** /**
* Update options. * Update options.
* *
* @param array $options Optional. New options to save.
*
* @return void * @return void
*
* @since 1.0.0
* @since 1.3.0 removed unused parameter
*/ */
protected static function update_options( ?array $options = null ): void { protected static function update_options(): void {
self::$options = wp_parse_args( self::$options = wp_parse_args(
get_option( self::OPTION ), get_option( self::OPTION ),
self::default_options() self::default_options()