Completed
Push — develop ( 9f3e22...fba03d )
by Aristeides
02:33
created
field/class-kirki-field-number.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
 			$step  = ( is_numeric( $this->choices['step'] ) ) ? $this->choices['step'] : intval( $this->choices['step'] );
72 72
 			$valid = range( $min, $max, $step );
73 73
 			foreach ( $valid as $possible_value ) {
74
-				$smallest[ $possible_value ] = abs( $possible_value - $value );
74
+				$smallest[$possible_value] = abs( $possible_value - $value );
75 75
 			}
76 76
 			asort( $smallest );
77 77
 			$value = key( $smallest );
Please login to merge, or discard this patch.