@@ -67,7 +67,7 @@ discard block |
||
| 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 |
||
| 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 | } |