Completed
Push — trunk ( 481bb8...a3c09d )
by Justin
12:05
created
includes/CMB2_Types.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -170,11 +170,11 @@  discard block
 block discarded – undo
170 170
 
171 171
 		$message = array( sprintf( __( 'Custom field types require a Type object instantiation to use this method. This method was called by the \'%s\' field type.' ), $this->field->type() ) );
172 172
 
173
-		$message[] = is_object( $this->type )
173
+		$message[ ] = is_object( $this->type )
174 174
 			? __( 'That field type may not work as expected.', 'cmb2' )
175 175
 			: __( 'That field type will not work as expected.', 'cmb2' );
176 176
 
177
-		$message[] = __( 'See: https://github.com/mustardBees/cmb-field-select2/pull/34w for more information about this change.', 'cmb2' );
177
+		$message[ ] = __( 'See: https://github.com/mustardBees/cmb-field-select2/pull/34w for more information about this change.', 'cmb2' );
178 178
 
179 179
 		_doing_it_wrong( __CLASS__ . '::' . $method, implode( ' ', $message ), '2.2.2' );
180 180
 	}
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
 	 * @return string               String of attributes for form element
219 219
 	 */
220 220
 	public function concat_attrs( $attrs, $attr_exclude = array() ) {
221
-		$attr_exclude[] = 'rendered';
221
+		$attr_exclude[ ] = 'rendered';
222 222
 		$attributes = '';
223 223
 		foreach ( $attrs as $attr => $val ) {
224 224
 			$excluded = in_array( $attr, (array) $attr_exclude, true );
Please login to merge, or discard this patch.