@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | /** |
| 90 | 90 | * Check full and return array without new or obsolete columns if full not set. |
| 91 | 91 | * |
| 92 | - * @return DiffTableColumns |
|
| 92 | + * @return TableColumnsMetadata |
|
| 93 | 93 | */ |
| 94 | 94 | public function removeMatchingColumns() |
| 95 | 95 | { |
@@ -139,9 +139,9 @@ discard block |
||
| 139 | 139 | /** |
| 140 | 140 | * Add not null to audit columns if it not nullable. |
| 141 | 141 | * |
| 142 | - * @param array $theColumns Audit columns. |
|
| 142 | + * @param \array[] $theColumns Audit columns. |
|
| 143 | 143 | * |
| 144 | - * @return array |
|
| 144 | + * @return \array[] |
|
| 145 | 145 | */ |
| 146 | 146 | private function addNotNull($theColumns) |
| 147 | 147 | { |
@@ -125,8 +125,7 @@ |
||
| 125 | 125 | && $audit_character_set_name==$config_character_set_name |
| 126 | 126 | && $audit_collation_name==$config_collation_name |
| 127 | 127 | && $audit_collation_name==$data_collation_name |
| 128 | - ) |
|
| 129 | - { |
|
| 128 | + ) { |
|
| 130 | 129 | $metadata->removeColumn($columnName); |
| 131 | 130 | } |
| 132 | 131 | } |
@@ -194,9 +194,9 @@ |
||
| 194 | 194 | $theName = $theOption; |
| 195 | 195 | } |
| 196 | 196 | $tableRow = ['column_name' => $theName, |
| 197 | - 'data' => $this->dataTableOptions[$theOption], |
|
| 198 | - 'audit' => $this->auditTableOptions[$theOption], |
|
| 199 | - 'config' => null]; |
|
| 197 | + 'data' => $this->dataTableOptions[$theOption], |
|
| 198 | + 'audit' => $this->auditTableOptions[$theOption], |
|
| 199 | + 'config' => null]; |
|
| 200 | 200 | $this->rows[$theOption] = $tableRow; |
| 201 | 201 | } |
| 202 | 202 | } |
@@ -193,7 +193,7 @@ |
||
| 193 | 193 | { |
| 194 | 194 | $theName = $theOption; |
| 195 | 195 | } |
| 196 | - $tableRow = ['column_name' => $theName, |
|
| 196 | + $tableRow = ['column_name' => $theName, |
|
| 197 | 197 | 'data' => $this->dataTableOptions[$theOption], |
| 198 | 198 | 'audit' => $this->auditTableOptions[$theOption], |
| 199 | 199 | 'config' => null]; |