diff --git a/src/Commands/TypeScriptTransformCommand.php b/src/Commands/TypeScriptTransformCommand.php index b385727..f0aeb76 100644 --- a/src/Commands/TypeScriptTransformCommand.php +++ b/src/Commands/TypeScriptTransformCommand.php @@ -43,14 +43,14 @@ public function handle( try { $this->ensureConfiguredCorrectly(); - - $collection = $transformer->transform(); } catch (Exception $exception) { $this->error($exception->getMessage()); return 1; } + $collection = $transformer->transform(); + $this->table( ['PHP class', 'TypeScript entity'], collect($collection)->map(fn (TransformedType $type, string $class) => [