Replace ternary with boolean condition
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
This commit is contained in:
parent
0032b489f3
commit
1e14d588a7
@ -342,7 +342,7 @@ class InsertEdit
|
||||
};
|
||||
|
||||
// can only occur once per table
|
||||
$column['first_timestamp'] = $column['True_Type'] === 'timestamp' ? ! $timestampSeen : false;
|
||||
$column['first_timestamp'] = $column['True_Type'] === 'timestamp' && ! $timestampSeen;
|
||||
|
||||
return $column;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user