Replace ternary with boolean condition

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
This commit is contained in:
Kamil Tekiela 2023-04-21 20:30:07 +01:00
parent 0032b489f3
commit 1e14d588a7

View File

@ -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;
}