hasAnchor) { View::render('components.badge', ['type' => 'ERROR', 'content' => $this->headline]); $this->renderChild($output, $this->hint.' Or use [--fresh] to record locally.'); $output->writeln(''); return; } $this->renderChild($output, $this->headline); $this->renderChild($output, $this->hint.' Or use [--fresh] to record locally.'); $output->writeln(''); } public function exitCode(): int { return 1; } private function renderChild(OutputInterface $output, string $text): void { $output->writeln(sprintf(' ─ %s', $text)); } }