Skip to content

Commit 7f43961

Browse files
committed
Fix lint issues
1 parent 7835a5e commit 7f43961

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -3693,7 +3693,7 @@ protected function get_column_definitions( $table_name, $columns ) {
36933693
$auto_increment_column = $this->get_autoincrement_column( $table_name );
36943694
$column_definitions = array();
36953695
foreach ( $columns as $column ) {
3696-
$mysql_type = $this->get_cached_mysql_data_type( $table_name, $column->name );
3696+
$mysql_type = $this->get_cached_mysql_data_type( $table_name, $column->name );
36973697
$is_auto_incr = $auto_increment_column && strtolower( $auto_increment_column ) === strtolower( $column->name );
36983698
$definition = array();
36993699
$definition[] = '`' . $column->name . '`';
@@ -3867,7 +3867,7 @@ function ( $row ) use ( $name_map ) {
38673867
*
38683868
* @return boolean If column should have a default definition.
38693869
*/
3870-
private function column_has_default( $column, $mysql_type ) {
3870+
private function column_has_default( $column, $mysql_type ) {
38713871
if ( null !== $column->dflt_value && '' !== $column->dflt_value && ! in_array( strtolower( $mysql_type ), array( 'datetime', 'date', 'time', 'timestamp', 'year' ), true ) ) {
38723872
return true;
38733873
}

0 commit comments

Comments
 (0)