HEX
Server: nginx/1.24.0
System: Linux webserver 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64
User: wpuser (1002)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /opt/wpsites/gsudice.dataconn.net/wp-content/themes/colibri-wp/inc/src/Customizer/Formatter.php
<?php
/**
 * Created by PhpStorm.
 * User: Extend Studio
 * Date: 3/19/2019
 * Time: 5:35 PM
 */

namespace ColibriWP\Theme\Customizer;


class Formatter {

	public static function sanitizeControlValue( $control_type, $value ) {
		switch ( $control_type ) {
			case 'switch':
				$value = ! ! intval( $value );
				break;
		}

		return $value;
	}
}