| @@ 34-42 (lines=9) @@ | ||
| 31 | $this->renderChangedTables(); |
|
| 32 | } |
|
| 33 | ||
| 34 | protected function renderRemovedTables(): void |
|
| 35 | { |
|
| 36 | if (0 === \count($this->diff->removedTables)) { |
|
| 37 | return; |
|
| 38 | } |
|
| 39 | ||
| 40 | $this->title('Removed tables:'); |
|
| 41 | $this->listing(array_map(function ($table) { return $table->getName(); }, $this->diff->removedTables)); |
|
| 42 | } |
|
| 43 | ||
| 44 | protected function renderNewTables(): void |
|
| 45 | { |
|
| @@ 44-52 (lines=9) @@ | ||
| 41 | $this->listing(array_map(function ($table) { return $table->getName(); }, $this->diff->removedTables)); |
|
| 42 | } |
|
| 43 | ||
| 44 | protected function renderNewTables(): void |
|
| 45 | { |
|
| 46 | if (0 === \count($this->diff->newTables)) { |
|
| 47 | return; |
|
| 48 | } |
|
| 49 | ||
| 50 | $this->title('New tables:'); |
|
| 51 | $this->listing(array_map(function ($table) { return $table->getName(); }, $this->diff->newTables)); |
|
| 52 | } |
|
| 53 | ||
| 54 | protected function renderChangedTables(): void |
|
| 55 | { |
|