diff --git a/packages/framework/src/Console/Commands/ServeCommand.php b/packages/framework/src/Console/Commands/ServeCommand.php index 58ed89e8753..05cd0bda116 100644 --- a/packages/framework/src/Console/Commands/ServeCommand.php +++ b/packages/framework/src/Console/Commands/ServeCommand.php @@ -66,18 +66,17 @@ protected function printStartMessage(): void if ($this->option('fancy')) { $this->line('Starting the HydeRC server... Press Ctrl+C to stop'); } else { - $title = 'HydePHP Realtime Compiler'; - $version = ' v' . Hyde::version(); + $version = ' v'.Hyde::version(); $url = sprintf('http://%s:%d', $this->getHostSelection(), $this->getPortSelection()); - $width = max(strlen("$title $version"), strlen("Listening on $url") +1) + 1; + $width = max(strlen("$title $version"), strlen("Listening on $url") + 1) + 1; $spacing = str_repeat(' ', $width); $lines = str_repeat('─', $width); - $line1 = ' '. sprintf('%s %s', $title, $version) . str_repeat(' ', $width - strlen("$title $version")); - $line2 = ' '. sprintf('Listening on  %s', $url, $url). str_repeat(' ', $width - strlen("Listening on $url") - 1); + $line1 = ' '.sprintf('%s %s', $title, $version).str_repeat(' ', $width - strlen("$title $version")); + $line2 = ' '.sprintf('Listening on  %s', $url, $url).str_repeat(' ', $width - strlen("Listening on $url") - 1); render(<<