← All changes
|
modules/atomic-widgets/css-converter/converters/object-position-property-converter.php
+1
-1
4.2.0-beta1
→
trunk
View file →
| @@ -25,9 +25,9 @@ | ||
| 25 | 25 | protected function get_supported_properties(): array { |
| 26 | 26 | return [ 'object-position' ]; |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | - public function convert( Conversion_Context $context, array $rule ): bool { | |
| 29 | + protected function do_convert( Conversion_Context $context, array $rule ): bool { | |
| 30 | 30 | $value = trim( $rule['value'] ); |
| 31 | 31 | |
| 32 | 32 | if ( in_array( $value, Position_Prop_Type::get_position_enum_values(), true ) ) { |
| 33 | 33 | $context->set_prop( 'object-position', String_Prop_Type::generate( $value ) ); |