Skip to content

Commit cd1fcba

Browse files
committed
Fix lint issue
1 parent d2545e5 commit cd1fcba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wp-includes/sqlite/class-wp-sqlite-translator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3767,7 +3767,7 @@ function ( $column ) use ( $table_name, $key_length_limit ) {
37673767
}
37683768

37693769
// Set the data length to the varchar and text key length
3770-
if ( in_array( $this->field_types_translation[ $data_type ], [ 'text', 'blob'], true ) ) {
3770+
if ( in_array( $this->field_types_translation[ $data_type ], array( 'text', 'blob' ), true ) ) {
37713771
return sprintf( '`%s`(%s)', $column['name'], $data_length );
37723772
}
37733773
return sprintf( '`%s`', $column['name'] );

0 commit comments

Comments
 (0)