@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | continue; |
187 | 187 | } |
188 | 188 | $this->data[$tableName]['SizeBefore'] = $this->database->getTableSizeInMegaBytes($tableName); |
189 | - if ($this->selectedTables && ! in_array($tableName, $this->selectedTableList, true)) { |
|
189 | + if ($this->selectedTables && !in_array($tableName, $this->selectedTableList, true)) { |
|
190 | 190 | $this->data[$tableName]['Actions'][] = 'Skipped because it is not a selected table.'; |
191 | 191 | continue; |
192 | 192 | } |
@@ -364,7 +364,7 @@ discard block |
||
364 | 364 | $totalSizeAfter = 0; |
365 | 365 | usort( |
366 | 366 | $this->data, |
367 | - function ($a, $b) { |
|
367 | + function($a, $b) { |
|
368 | 368 | return $a['SizeAfter'] <=> $b['SizeAfter']; |
369 | 369 | } |
370 | 370 | ); |
@@ -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); |