Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Feb 25, 2024
1 parent fc4fa7e commit 24b7525
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Servers/Reverb/Console/Commands/StartServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function handle(): void
$this->ensureRestartCommandIsRespected($server, $loop, $host, $port);
$this->ensurePulseEventsAreCollected($loop, $config['pulse_ingest_interval']);

$this->components->info("Starting " . ($server->isSecure() ? 'secure ' : ''). "server on {$host}:{$port}" . ($hostname ? " ({$hostname})" : ''));
$this->components->info("Starting ".($server->isSecure() ? 'secure ' : '')."server on {$host}:{$port}".($hostname ? " ({$hostname})" : ''));

$server->start();
}
Expand Down
2 changes: 1 addition & 1 deletion src/Servers/Reverb/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static function make(string $host = '0.0.0.0', string $port = '8080', str
default => throw new InvalidArgumentException("Unsupported protocol [{$protocol}]."),
};

if(empty($options['tls']) && $hostname && Certificate::exists($hostname)) {
if (empty($options['tls']) && $hostname && Certificate::exists($hostname)) {
[$certificate, $key] = Certificate::resolve($hostname);

$options['tls']['local_cert'] = $certificate;
Expand Down

0 comments on commit 24b7525

Please sign in to comment.