Skip to content

Commit 1e086e2

Browse files
committed
Fix lint issue
1 parent b98bf17 commit 1e086e2

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
@@ -3768,7 +3768,7 @@ function ( $column ) use ( $table_name, $key_length_limit ) {
37683768
}
37693769

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

0 commit comments

Comments
 (0)