diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2011-12-07 21:58:50 +0400 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2011-12-07 21:58:50 +0400 |
commit | 35b18e57a26331c3f4a124ca21b37f82b006faa6 (patch) | |
tree | 610896af060c4f754ed6344d1e45bb70c43c74ef /tbl_change.php | |
parent | a7c00f719f1ba7725db25aa66741536dceb2ead2 (diff) |
Coding style improvements - Multiline assignments
Diffstat (limited to 'tbl_change.php')
-rw-r--r-- | tbl_change.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tbl_change.php b/tbl_change.php index 660adff066..2cffd16ebd 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -376,8 +376,8 @@ foreach ($rows as $row_id => $vrow) { $table_fields[$i]['Default'] = null; } - $table_fields[$i]['len'] = - preg_match('@float|double@', $table_fields[$i]['Type']) ? 100 : -1; + $table_fields[$i]['len'] + = preg_match('@float|double@', $table_fields[$i]['Type']) ? 100 : -1; if (isset($comments_map[$table_fields[$i]['Field']])) { @@ -918,11 +918,11 @@ foreach ($rows as $row_id => $vrow) { $fieldsize = $extracted_fieldspec['spec_in_brackets']; } else { /** - * This case happens for example for INT or DATE columns; - * in these situations, the value returned in $field['len'] + * This case happens for example for INT or DATE columns; + * in these situations, the value returned in $field['len'] * seems appropriate. */ - $fieldsize = $field['len']; + $fieldsize = $field['len']; } $fieldsize = min(max($fieldsize, $cfg['MinSizeForInputField']), $cfg['MaxSizeForInputField']); echo $backup_field . "\n"; |