Completed
Push — develop ( 8dfc75...760f1d )
by Aristeides
22:44 queued 13:59
created
field/class-kirki-field-checkbox.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 	 * Sanitizes checkbox values.
41 41
 	 *
42 42
 	 * @access public
43
-	 * @param boolean|integer|string|null $value The checkbox value.
43
+	 * @param boolean|string $value The checkbox value.
44 44
 	 * @return bool
45 45
 	 */
46 46
 	public function sanitize( $value = null ) {
Please login to merge, or discard this patch.
modules/collapsible/class-kirki-modules-collapsible.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 		$fields = Kirki::$fields;
50 50
 		foreach ( $fields as $field ) {
51 51
 			if ( isset( $field['collapsible'] ) && true === $field['collapsible'] && isset( $field['settings'] ) && isset( $field['label'] ) ) {
52
-				$collapsible_fields[ $field['settings'] ] = $field['label'];
52
+				$collapsible_fields[$field['settings']] = $field['label'];
53 53
 			}
54 54
 		}
55 55
 		$collapsible_fields = array_unique( $collapsible_fields );
Please login to merge, or discard this patch.
field/class-kirki-field-number.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 
73 73
 			$smallest = array();
74 74
 			foreach ( $valid as $possible_value ) {
75
-				$smallest[ $possible_value ] = abs( $possible_value - $value );
75
+				$smallest[$possible_value] = abs( $possible_value - $value );
76 76
 			}
77 77
 			asort( $smallest );
78 78
 			$value = key( $smallest );
Please login to merge, or discard this patch.