14 lines
241 B
PHP
14 lines
241 B
PHP
<?php
|
|
|
|
class ET_Builder_Module_Helper_Motion_Scale extends ET_Builder_Module_Helper_Motion_Sanitizer {
|
|
|
|
/**
|
|
* @param string $value
|
|
*
|
|
* @return string
|
|
*/
|
|
protected function sanitize( $value ) {
|
|
return min( 0, (int) $value );
|
|
}
|
|
}
|