@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | $fields = $this->getAllFieldsForOneTable($nonVersionedTable); |
| 40 | 40 | $fields = array_combine($fields, $fields); |
| 41 | 41 | foreach ($fields as $fieldName) { |
| 42 | - if (! ($this->hasField($tableName, $fieldName) && $this->hasField($nonVersionedTable, $fieldName))) { |
|
| 42 | + if (!($this->hasField($tableName, $fieldName) && $this->hasField($nonVersionedTable, $fieldName))) { |
|
| 43 | 43 | unset($fields[$fieldName]); |
| 44 | 44 | } |
| 45 | 45 | } |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | |
| 155 | 155 | public function getAllFieldsForOneTableDetails(string $tableName): array |
| 156 | 156 | { |
| 157 | - if (! isset(self::$fieldsForTable[$tableName])) { |
|
| 157 | + if (!isset(self::$fieldsForTable[$tableName])) { |
|
| 158 | 158 | self::$fieldsForTable[$tableName] = []; |
| 159 | 159 | if ($this->hasTable($tableName)) { |
| 160 | 160 | self::$fieldsForTable[$tableName] = DB::field_list($tableName); |
@@ -188,7 +188,7 @@ discard block |
||
| 188 | 188 | continue; |
| 189 | 189 | } |
| 190 | 190 | $this->data[$tableName]['SizeBefore'] = $this->database->getTableSizeInMegaBytes($tableName); |
| 191 | - if ($this->selectedTables && ! in_array($tableName, $this->selectedTableList, true)) { |
|
| 191 | + if ($this->selectedTables && !in_array($tableName, $this->selectedTableList, true)) { |
|
| 192 | 192 | $this->data[$tableName]['Actions'][] = 'Skipped because it is not a selected table.'; |
| 193 | 193 | |
| 194 | 194 | continue; |
@@ -367,7 +367,7 @@ discard block |
||
| 367 | 367 | $totalSizeAfter = 0; |
| 368 | 368 | usort( |
| 369 | 369 | $this->data, |
| 370 | - function ($a, $b) { |
|
| 370 | + function($a, $b) { |
|
| 371 | 371 | return $a['SizeAfter'] <=> $b['SizeAfter']; |
| 372 | 372 | } |
| 373 | 373 | ); |