Completed
Push — develop ( 1744f6...9a1f21 )
by Aristeides
02:27
created
core/class-kirki-control.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 		$class_name = 'WP_Customize_Control';
68 68
 		// Get the classname from the array of control classnames.
69 69
 		if ( array_key_exists( $args['type'], self::$control_types ) ) {
70
-			$class_name = self::$control_types[ $args['type'] ];
70
+			$class_name = self::$control_types[$args['type']];
71 71
 		}
72 72
 		return $class_name;
73 73
 
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
 		foreach ( self::$control_types as $key => $classname ) {
142 142
 
143 143
 			if ( ! class_exists( $classname ) ) {
144
-				unset( self::$control_types[ $key ] );
144
+				unset( self::$control_types[$key] );
145 145
 			}
146 146
 		}
147 147
 	}
Please login to merge, or discard this patch.