Apply fixes from StyleCI

This commit is contained in:
Marcel Pociot authored and StyleCI Bot committed 2021-05-21 15:21:13 +00:00
1 parent 717e8cf05c
commit 6c0aa790e5
9 files changed
+4 -11

No files matched your search

+2 -3
View File
@@ -45,7 +45,7 @@ abstract class ServerAwareCommand extends Command
/**
* Try to find the server in the servers array.
* If no array exists at all (when upgrading from v1),
* always return sharedwithexpose.com
* always return sharedwithexpose.com.
*/
if (config('expose.servers') === null) {
return static::DEFAULT_HOSTNAME;
@@ -70,13 +70,12 @@ abstract class ServerAwareCommand extends Command
/**
* Try to find the server in the servers array.
* If no array exists at all (when upgrading from v1),
* always return sharedwithexpose.com
* always return sharedwithexpose.com.
*/
if (config('expose.servers') === null) {
return static::DEFAULT_PORT;
}
$server = $this->option('server');
$host = config('expose.servers.'.$server.'.port');